Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: vlinux1 on May 24, 2010, 06:39:07 AM
-
Hi Gaurav & Ricky,
I have configured Vsftpd server in RHEL-4 and it's working. I want to restrict copy option for all users only they can paste.
Is it possible please let me know.
Thanks in Advance
Vijay
-
try the following command
chmod -R 733 <folder name>
-
Thanks for your reply
I'll check and let you know.
Thanks again.
-
I m not clear with the question, do u mean that they can put the files but can't get or the can get the files but can't put?
-
Hi Gaurav,
Thanks for reply.
User can only put the files in that DIR.
Thanks
Vijay
-
Hmm you can make a group and add the users list in that group and make the group writable to that dir.
Lets say you want the following users to put on dir "mydir"
user1,user2
make group using " groupadd putgrp"
usermod -G putgrp user1
usermod -G putgrp user2
and then you can give the "w" permissions to group for that dir, Please make sure that the dir is owned by that group
Hope that helps
-
Or if you want to do for all the users not for specific ones then you can try the solution which "getviswa" suggested