Usermod expert, help needed.
i have 3 existing sites, MainSite TestSite and FileSite. Main and Test need to be apart of the FileSite group to be able to read/write/delete files.
usermod -a -G MainSite,TestSite FileSite is that right, for giving access to FileSite? |
The syntax would be fine if you weren't trying to add groups
to a group ... this only works for users, and groups can't be members of groups. |
Quote:
MainSite.com is part of MainSite group and user MainSite, so the group and user have the same name. what i'm trying to do is allow MainSite & TestSite users to be apart of the FileSite group so I can have proper permission for unlinking files via php coding |
In that case it should work just fine; the only thing to bear in mind is
that you'll also need to make the directories group-writeable. Cheers, Tink |
Quote:
|
chmod -R g+rwX /home/filesite/public_html/
|
All times are GMT -5. The time now is 05:05 AM. |