"Brevsville Administrator"
Is it possible to set a umask for a directory such that every file placed in that directory automatically sets a specified umask.
No, the umask is only available as a per process setting. The only thing you can do is use a directory's SGID bit to automatically set the group ownership for newly created files, but it is not possible to automatically set the permissions based on a per directory setting. The functionality you are looking for is typically provided by Access Control Lists (ACL), but until now there is no ACL support in a standard Linux kernel (i.e., adding ACL support means patching the kernel). There are projects working on ACL implementations for Linux. You can find information about one of them under http://aerobee.informatik.uni-bremen.de/acl_eng.html, but I'm not sure if the work on this project is currently being continued. Eilert -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Eilert Brinkmann -- Universitaet Bremen -- FB 3, Informatik eilert@informatik.uni-bremen.de - eilert@tzi.org - eilert@linuxfreak.com http://www.informatik.uni-bremen.de/~eilert/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi Eilert, Thanx for your reply. My problem is that some users need to FTP files to a directoy and that file needs to be set with o+r permissions. I can't use a umask on the use as I don't want all their file in other places to be accessible to other users. Any other ideas? Thanx Chris On 28 May 2000 16:55:35 +0200, Eilert Brinkmann wrote:
Is it possible to set a umask for a directory such that every file placed in that directory automatically sets a specified umask.
No, the umask is only available as a per process setting. The only thing you can do is use a directory's SGID bit to automatically set the group ownership for newly created files, but it is not possible to automatically set the permissions based on a per directory setting.
The functionality you are looking for is typically provided by Access Control Lists (ACL), but until now there is no ACL support in a standard Linux kernel (i.e., adding ACL support means patching the kernel). There are projects working on ACL implementations for Linux. You can find information about one of them under http://aerobee.informatik.uni-bremen.de/acl_eng.html, but I'm not sure if the work on this project is currently being continued.
Eilert -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Eilert Brinkmann -- Universitaet Bremen -- FB 3, Informatik eilert@informatik.uni-bremen.de - eilert@tzi.org - eilert@linuxfreak.com http://www.informatik.uni-bremen.de/~eilert/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Mon, May 29, 2000 at 12:48:43AM +0000, Brevsville Administrator wrote:
Hi Eilert,
Thanx for your reply.
My problem is that some users need to FTP files to a directoy and that file needs to be set with o+r permissions. I can't use a umask on the use as I don't want all their file in other places to be accessible to other users.
Any other ideas?
They can set the umask with their ftp client.
Thanx
Chris
On 28 May 2000 16:55:35 +0200, Eilert Brinkmann wrote:
Is it possible to set a umask for a directory such that every file placed in that directory automatically sets a specified umask.
No, the umask is only available as a per process setting. The only thing you can do is use a directory's SGID bit to automatically set the group ownership for newly created files, but it is not possible to automatically set the permissions based on a per directory setting.
The functionality you are looking for is typically provided by Access Control Lists (ACL), but until now there is no ACL support in a standard Linux kernel (i.e., adding ACL support means patching the kernel). There are projects working on ACL implementations for Linux. You can find information about one of them under http://aerobee.informatik.uni-bremen.de/acl_eng.html, but I'm not sure if the work on this project is currently being continued.
Eilert -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Eilert Brinkmann -- Universitaet Bremen -- FB 3, Informatik eilert@informatik.uni-bremen.de - eilert@tzi.org - eilert@linuxfreak.com http://www.informatik.uni-bremen.de/~eilert/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Brad Shelton On Line Exchange http://online-isp.com -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
admin@brevsville.com.au
-
bshelton@online-isp.com
-
eilert@Informatik.Uni-Bremen.DE