Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-17-2002, 05:24 PM
|
#1
|
LQ Newbie
Registered: Aug 2002
Posts: 4
Rep:
|
Giving a user CHMOD rights to the /var/www/html directory?
Hey guys....
First of all, thanks to GAVollink for helping me with my previous problem/issue.
Here's where I am at right now....
Using GAVollink's advice I set up a user in a group called web and gave him rights to the /var/www/html directory. I also soft linked him so that when the "user" logs into FTP he can see the web site files in his home directory.....
Ok, good and well....all that works!
Now, I want to be able to give this user the rights to CHMOD files within the web site directory (/var/www/html...or now.... /home/user/html/html)
How do I do this?
Thanks in advance for any and all help! You guys who contribute make this site ROCK!!!!
Later,
Kevin L.
|
|
|
08-17-2002, 05:40 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Usually by default, if they are the owner of a file or dir, they can chmod the files within it. Just make sure they have rw permissions on the files either with owner or group permissions.
|
|
|
08-18-2002, 04:16 PM
|
#3
|
LQ Newbie
Registered: Aug 2002
Posts: 4
Original Poster
Rep:
|
Quote:
Originally posted by trickykid
Usually by default, if they are the owner of a file or dir, they can chmod the files within it. Just make sure they have rw permissions on the files either with owner or group permissions.
|
Ok, but how do I make sure they have rw permissions? If they dont have them...how do I assign them to the user?
Thanks,
Kevin L.
|
|
|
08-18-2002, 04:38 PM
|
#4
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
ls -al will give all the rwx permissions along with the owner and group ownership of the file or directory. Make sure they are either part of the group with rw permissions or the owner with rw permissions. If they can write, they usually have access to change the permissions of the files.
|
|
|
All times are GMT -5. The time now is 07:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|