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 ...
- 12-17-2008 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 1
Permissions problem connecting to Windows share
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 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?
TIA
- 12-17-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.


Reply With Quote