PDA

View Full Version : [ubuntu] smb.conf permission issue


reckless2k2
August 11th, 2009, 09:19 PM
I've got a directory share for scans used by every family member. I want to make it so that each user can't accidentally delete any persons scans they uploaded.

Is it a create mask issue? I can't figure it out.

[scans]
comment = Scan Directory
path = /scans
valid users = @scans
writeable = yes

The share has group "scans" r/w permissions.

pizmooz
August 11th, 2009, 09:22 PM
try adding
read only = no

reckless2k2
August 12th, 2009, 07:11 AM
To be clear, everyone can write now without a problem but can accidentally delete scans put in the directory by others.

I'm trying to prevent them from being able to delete another persons scans.

I already have writeable = yes so I'm not sure how ready only = no will help.

I think it's a masking issue:

create mask
security mask

????

Iowan
August 12th, 2009, 06:56 PM
Hopefully I'm mistaken, but "write access" would seem to suggest "delete access".