Permissions
Hello folks :)
On my system I have proftpd installed. Now I wanted to be able to access my apache htdocs dir from my user account. so i did mount --bind /path/to/apache2/htdocs /home/bob/apache_htdocs everything works, except I cannot delete or edit any files from that user account.. How can i add the user "bob" to be able to edit files in the apache dir. currently all files belong to root/root |
changing permissions
To change all the permissions in /home/bob first figure out what group you want all of bob's files to belong to, say ingroup, then issue the following commands as root:
chown bob:ingroup /home/bob/* -R chown bob:ingroup /home/bob |
ya but how is that supposed to give me access to the apache/htdocs dir
|
I think what you actually need to do is change the group of the files in your apache htdocs directory to something like 'web', then make sure that bob is a member of the group web. Then change group permissions of the files so you can edit them.
|
right
Bulliver is right. I misread the question.
|
he he, I do that too.
I thought you had another typo with your chown name:group file too, but I tried it with the colon and it worked. What's with that? |
dunno
I dunno. It is just the way my granpappy taught me.
|
All times are GMT -5. The time now is 08:28 AM. |