How do I change the permissions to 755 and stay that way for people that FTP into a web directory. I currently have a problem with people that FTP into the web directory and then can not view them on the web site. It says Forbidden. You do not have permissions to access the file. I have tried to create the "sticky" function and this does not work. The files still get placed as -rw-r----- what can I do to fix this? Neal Haas
On Thu, 2003-05-29 at 14:17, Neal Haas wrote:
How do I change the permissions to 755 and stay that way for people that FTP into a web directory.
man chmod should help you out.
I currently have a problem with people that FTP into the web directory and then can not view them on the web site. It says Forbidden. You do not have permissions to access the file.
I have tried to create the "sticky" function and this does not work. The files still get placed as -rw-r----- what can I do to fix this?
Neal Haas
Ken Schneider wrote:
On Thu, 2003-05-29 at 14:17, Neal Haas wrote:
How do I change the permissions to 755 and stay that way for people that FTP into a web directory.
man chmod should help you out.
If you run "SuSEconfig" after you have changed the permissions. You might want to set it to 755 in one of the /etc/permission.? files so that SuSE will not change it also. -- 73 de Donn Washburn __ " http://www.hal-pc.org/~n5xwb " Ham Callsign N5XWB / / __ __ __ __ __ __ __ 307 Savoy St. / /__ / / / \/ / / /_/ / \ \/ / Sugar Land, TX 77478 /_____/ /_/ /_/\__/ /_____/ /_/\_\ LL# 1.281.242.3256 a MSDOS Virus "Free Zone" OS Email: n5xwb@hal-pc.org Info: http://www.knoppix.net
* Neal Haas (neal.haas@fresno.edu) [030529 11:10]:
How do I change the permissions to 755 and stay that way for people that FTP into a web directory.
You didn't say what ftpd you're using but assuming it's vsftpd you need to set anon_umask to something other than the default 077, most likely you want 022. If the users are logging in as something other than anonymous then you'll set local_umask instead. -- -ckm
Around Thu, May 29, 2003 at 11:17:59AM -0700, Neal Haas said something to the effect of:
How do I change the permissions to 755 and stay that way for people that FTP into a web directory.
A random stab in the dark: Have you looked at the default umask of, say, the ftp user account? Personally, I don't know where to look exactly, but its either a umask issue, or possibly a ftp server configuration umask issue. HTH. zth -- Zachary Todd Hartley | "In God we trust. All zhartley@linus.highpoint.edu | others must have data." | --George Lundberg
participants (5)
-
Christopher Mahmood
-
Donn Washburn
-
Ken Schneider
-
Neal Haas
-
Zach Hartley