• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

File priviege issues with samba share mounted on Linux Mint using cifs

hasu

Senior member
I am running a Samba server on Ubuntu (Server 11.04) for file sharing with Windows machines as well as other Linux boxes. The shares work almost as expected on a windows box, but the behaviour on another Linux client is not as expected. For testing purpose I have the share with the following settings

[myshare]
read only = no
create mask = 0777
directory mask = 0777
valid users = myuserid

myuserid is the same on all machines -- Linux Mint, Windows XP and 7 and the Ubuntu Server itself. With this configuration, when I create a new file from Linux Mint the resulting file access permission as seen on the server becomes -rw-r--r--
When a file is created from Windows XP the permission becomes -rwxrw-rw-
For this exercise the shared folder was mounted using "Connect to Server ..." menu item of the gnome file manager (nautilus).

I tried to mount the samba share by issuing following command and got the same results
sudo mount -t cifs -o username=myuserid,domain=MYWORKGROUP //192.168.1.10/sharedfolder /mylocalmap

Why is this discrepancy?

Thanks!
 
Back
Top