Trigger_Hippie
asked on
creating read-only ftp user
Hi I am running Solaris.
I just wanted to know if there is a way to create a read-only user account that allows the user to ftp files out.
Thanks in advance :)
I just wanted to know if there is a way to create a read-only user account that allows the user to ftp files out.
Thanks in advance :)
chmod -R 440 /where/your/ftpusers/home/ directory/ is
Will change all permissions under /where/your/ftpusers/home/ directory/ is to user=read, group=read, other=none
Be careful with the -R option.. it's recursive (IE: it changes the directory you specify and ALL subdirectories and files to the same permissions)
Will change all permissions under /where/your/ftpusers/home/
Be careful with the -R option.. it's recursive (IE: it changes the directory you specify and ALL subdirectories and files to the same permissions)
ack i'm sorry.. i mistyped.. you'll need to give the user execute access to the directories so that he/she can change directory to them.
chmod 550 on the directory rather than 440 (440 on the files)
chmod 550 on the directory rather than 440 (440 on the files)
ASKER
I'm a bit of a newbie at this so bare with me...
"Yes, just change the permissions to read-only for the directory (and subdirectories) that user has access to."
how do you specify what directories a user/group can access?
"Yes, just change the permissions to read-only for the directory (and subdirectories) that user has access to."
how do you specify what directories a user/group can access?
ASKER
I'm a bit of a newbie at this so bare with me...
"Yes, just change the permissions to read-only for the directory (and subdirectories) that user has access to."
how do you specify what directories a user/group can access?
Would i have to chmod o= /directory/ to all directories I don't want the user/group to access? Or is there a way I can just specify this user/group can only access /this/directory/ ?
"Yes, just change the permissions to read-only for the directory (and subdirectories) that user has access to."
how do you specify what directories a user/group can access?
Would i have to chmod o= /directory/ to all directories I don't want the user/group to access? Or is there a way I can just specify this user/group can only access /this/directory/ ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes, just change the permissions to read-only for the directory (and subdirectories) that user has access to.