Results 1 to 2 of 2
Hello! I am using a Linux client (running Ubuntu) that is trying to connect to a Windows share. I have a line in fstab that looks like this: //192.168.11.1/C /c ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-17-2008 #1
- Join Date
- Dec 2008
Permissions problem connecting to Windows share
I am using a Linux client (running Ubuntu) that is trying to connect to a Windows share. I have a line in fstab that looks like this:
//192.168.11.1/C /c cifs defaults,credentials=/etc/smbpasswd,domain=MY_DOMAIN,iocharset=iso8859-1,file_mode=0777,dir_mode=0777,umask=777 0 0
Some of those options might be unnessary (I'm not sure what umask does).
It generally works. My problem is that when I create a new file on this share (from linux), the permissions on the brand new file are:
-rw-r--r-- 1 root root 0 Dec 17 18:50 6
when I want them to be 777.
Interestingly, if I unmount and then re-mount the share, the same file changes to 777 permissions.
How can I make new files be read+writable by everyone?
- 12-18-2008 #2
Correct me if I'm wrong...but I think a Windows filesystem does not support Linux permissions. When you send a file from Linux to Windows, it loses it's permissions and becomes world-readable.