[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

set permissions on directories in smb.conf



I have a partition that I have devoted as the "shared" partition for all
Windows users. The permissions are the problem at the moment. Without the
drive being mount the directory looks like:

drwxrwxr-x	7	root	users	4096	Sep 2 21:38	shared

When the drive is mounted by samba (its not at start up) it looks like:

drwxr-xr-x	7	root	users	4096	Sep 2 21:38	shared

The only change is that group members cannot write to the
"shared" directory.

Here is the "shared" entry in smb.conf:

[Shared]
	comment = Shared Directory
	available = yes
	path = /mnt/shared
	public = yes
	guest only = no
	writeable = yes
	write list = @users
	browseable = yes
	valid users = @users
	force create mode = 0770
	force directory mode = 0770
	force group = users

And just for giggles here is the /mnt/shared entry from fstab:

/dev/hdc3	/mnt/shared	ext2	defaults	0 0


Stephen

--
s torri lancaster ac uk





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]