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

Re: File Permissions: Allow write, but not modify



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Purves wrote:
> Is it possible to set up a directory so that a user can add a new
> file, but once the file is there the same user cannot modify, rename,
> or delete the file?
> 
> The shared directory is a samba share, and will only be accessed
> through windows, so solving this problem through samba is just as
> good.

How about setting "create mode 0000" and "directory mode 0000" for the
share in the smb.conf file. Or the modes to 0444 and 0555, if you want
the files to be readable. I have not specificly tested this method for
this purpose, but it should work.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDBRGqoGhcRzXgBl4RAhS/AJsFFA3s+2JATsLT7Au8GRP3KXQRfACfcQO7
3GQnE4ZKzQa/5EYvgsNR2E8=
=HOXd
-----END PGP SIGNATURE-----



Reply to: