File permission

Martin Stacey martin at safcol.com.au
Sun Jan 28 23:46:17 GMT 2001


How are file permissions determined under Samba? If I log onto my Linux
server (terminal session using Putty) and create a file that file is given
the following file permissions (rw- rw- r--). That is correct, because in my
home directory I have a .bashrc file that has a umask command that states
umask 002.

However, when I use Samba to log onto my Linux server and use Word/Excel to
create a file that file is given the following file permissions (rwx
rw- ---). Also, if I edit an existing file (again using Word/Excel) the file
permissions/ownership of this file changes (ie if the file permissions
aren't rwx rw- --- then they are after I edit a file).

How can I determine/set file permissions for files and stop file
permissions/ownership of files from changing.

Martin Stacey
Information Support Manager
Safcol Australia Pty Ltd





More information about the samba mailing list