directory permissions
- From: PTM <ptmusta@xxxxxx>
- Date: Sat, 22 Sep 2007 23:08:10 +0300
PTM: Is there any way to set directory permissions so, that every directory in a tree gets predetermined permission no matter who has greated the directory ? Still the files in directories should have those permissions set by normal umask.
I have a directory tree for pictures and my users upload there pictures by Samba, SFTP and whatever.
I have written a CGI script, who should be able to write some files to the directories of the tree and the files should be readable by browser.
As far as I understand, the directory should have 777 permissions to make the files visible to the browsers and changeable for the script. The files 755 to make the system secure.
It seems that the CGI script can not change the permissions of the directories created by other users.
If there is any other solution, I would be gratefull.
.
- Follow-Ups:
- Re: directory permissions
- From: Eric
- Re: directory permissions
- Prev by Date: Re: CNR
- Next by Date: Re: Alpha!
- Previous by thread: Alpha!
- Next by thread: Re: directory permissions
- Index(es):
Relevant Pages
|
|