cifs replacing smbfs - how to set up?
Herouth Maoz
herouth at spamcop.net
Tue Jun 16 00:49:10 IDT 2009
On 15/06/2009, at 23:31, guy keren wrote:
>
> when i switched from smbfs to cifs - i added the 'domain='
> parameter, and used the name defined on the samba server - and had
> no similar problems. did you try this?
>
> also, i didn't use the file_mode, dir_mode or setuids optoins, that
> you are using. i would try to remove them and see if there's any
> change.
>
> finally - what distribution+version is your client? the same for the
> linux server? this might be relevant information.
>
My client distro is Mandriva 2009.0 - kernel 2.6.27.21-desktop-1mnb
The server on that particular machine is Debian - kernel 2.6.18-6-686.
All of our servers are debians, though not all are the same version.
As for the "domain" argument - what should I set it to?
I removed the file_mode and dir_mode parameters, but no help there - I
still can't copy a file to an existing file. Removing them just makes
the file permissions I get in ls be funny:
Running ls -l on the client machine gives:
total 8
-rwxrwSrwx 1 herouth herouth 121 2009-03-11 18:06 create_dev_pgsql.sql*
-rwxrwSrwx 1 herouth herouth 125 2009-03-11 18:06 create_prod_pgsql.sql*
drwxrwxrwx 1 herouth herouth 0 2009-03-17 15:51 CVS/
Running it on the server machine (connecting with ssh) gives:
total 12
drwxr-xr-x 2 herouth herouth 4096 Mar 17 15:51 CVS
-rw-r--r-- 1 herouth herouth 121 Mar 11 18:06 create_dev_pgsql.sql
-rw-r--r-- 1 herouth herouth 125 Mar 11 18:06 create_prod_pgsql.sql
Of course the permissions displayed on the client machine are
ridiculous. Adding the file_mode and dir_mode parameters gives me
"normal" permissions, which are similar most of the time to the real
permissions.
Further help would be appreciated.
More information about the Linux-il
mailing list