LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-17-2002, 05:24 PM   #1
scubes13
LQ Newbie
 
Registered: Aug 2002
Posts: 4

Rep: Reputation: 0
Unhappy 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.
 
Old 08-17-2002, 05:40 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 260Reputation: 260Reputation: 260
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.
 
Old 08-18-2002, 04:16 PM   #3
scubes13
LQ Newbie
 
Registered: Aug 2002
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 08-18-2002, 04:38 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 260Reputation: 260Reputation: 260
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Directory index forbidden by rule: /var/www/html/ danimaldaisy Linux - Networking 6 02-11-2008 02:32 AM
apache server setup and how to place files in the var/www/html directory dramous Linux - Software 3 09-25-2004 03:38 AM
apache server setup and how to place files in the var/www/html directory dramous Linux - General 2 09-25-2004 02:29 AM
user/group permissions for /var/www/html/ illtbagu Linux - Software 6 11-12-2003 06:29 AM
chmod of /var/www/html alTereD Linux - Security 1 12-16-2002 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration