RE: [Samba] Fwd: Add permission? (was How to create a write-onlyshare?)
- Date: Wed, 7 May 2008 08:29:14 +0100
- From: "Alex Harrington" <alex@xxxxxxxxxxxxxxx>
- Subject: RE: [Samba] Fwd: Add permission? (was How to create a write-onlyshare?)
Try:
[root@fs home]# chown -R michael.office append
[root@fs home]# chmod -R 700 append
smb.conf:
[append]
path = /home/append
valid users = +office
writeable = yes
write list = +office
admin users = michael
hide unreadable = yes
create mode = 600
directory mode = 700
force group = office
I think that will do what you want - but users will still be able to see
what they've put in the share - by virtue of the fact they own the file
and it has 600 permissions.
You could force a create mode of say 200 which would leave the file
writable by the user but not readable. I've not tested how Windows will
deal with that though...
Alex
--
Alex Harrington - Network Manager, Longhill High School
t: 01273 304086 | e: alex@xxxxxxxxxxxxxxx
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba