Page 1 of 1

chmod

Posted: Fri Feb 29, 2008 12:26 am
by jmdirc
Perhaps I asked the wrong question or something. let me try this again.

Cyberduck installed easy. Connected fine. But trying to change file permissions through the 'info' it tells me I don't have permission to do that. I signed in as root user and it still refused because of permission.

I've checked a number of previous posts that go all the way back to 2006 with no luck.

If you could help, it would really be appreciated.

Posted: Fri Feb 29, 2008 2:16 am
by jmdirc
Just an update after some sleuthing around:

What it amounts to is the ftp had me permissioned out elsewhere in the config file. One simple change will open it for you:

file-- ftpd.conf or proftpd.conf depending on your programs:

look for these lines before the change--

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022


all you need do is to comment out the Umask line by placing a # before it, like so--

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
# Umask 022


also you will need to change this line--

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>


to--

# Bar use of SITE CHMOD by default
# <Limit SITE_CHMOD>
# DenyAll
# </Limit>


also, your user information may need changed in some circumstances or preferences:

# Set the user and group under which the server will run.
User nobody
Group admin


to

# Set the user and group under which the server will run.
User your username here
Group admin


and your all set. Just make sure you know what you are doing before you assign permissions to your files and directories.

bump

Posted: Mon Mar 03, 2008 9:25 pm
by jmdirc
I'm bumping this since I made a few changes since my initial post. I hope that is ok.

The change is in assigning a username. Just in case you don't want to use the name "nobody". Still, I'm not sure what I did differently the second time I set this up; I lost a hard drive do to mechanical failure and had install a new one. Anyway, when I signed in using the name I wished to use, I couldn't gain the permissions until I changed it on the user line listed here.

Hope all of this helps.