Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Directory config

0 views
Skip to first unread message

Matthew J. Salerno

unread,
Feb 24, 2000, 3:00:00 AM2/24/00
to
I have another problem. I am trying to setup a user cgi-bin. The problem
that I have is that I cannot set the umask or permissions specifically for
the cgi-bin directory. I have: defumask 0033 group which is what I
need, but for the cgi-bin directory I need 0022. Here is where the problme
arises. I will be setting up a dozen or so ftp sites for different users.
Each user will be in the same group. So far I have been able to set up the
ftpaccess file so that it uses the chroot'ed path of the user, this keeps me
from having to enter any user specific information into the ftpaccess file:
ex. noretrieve * /etc/passwd, or for directory permissions, I would like to
keep it this way. If there is a way that I could use only groups to set
things up, administration would be a cinch.

My problem comes up when I am trying to setup an upload line for the cgi-bin
in the ftpaccess file.
upload * /webdocs/cgi-bin yes dirs 3755 - inherits the user and group
upload * /webdocs/cgi-bin yes * webauth 0755 dirs 3755 - inherits the user
but not the group.

I would like to set up the cgi-bin so that the user can upload files (0755)
and create directories (0755) and own them. This way I can easily add new
ftp accounts without having to manually modify directory permissions or
modify lines in the ftpaccess file.

drwxrwxr-x 3 root webauth 512 .
dr-xr-xr-x 7 root root 512 Feb ..
drwxrwxr-x 2 root webauth 512 cgi-bin

./cgi-bin:
drwxrwxr-x 2 root webauth 512 .
drwxrwxr-x 3 root webauth 512 ..

Also I need to keep the user from renaming or deleting the cgi-bin, I am
having a problem setting thoes permissions as well.
I hope that this make sence to whoever is reading this. I have tried all
kinds or work-arounds and I would appreciate any assistance.

Thanks,

Matt

0 new messages