LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Group Membership Question (https://www.linuxquestions.org/questions/linux-general-1/group-membership-question-23701/)

rlkiddjr 06-18-2002 09:56 AM

Group Membership Question
 
Ok, here is the deal. I installed Hylafax and everything is running perfectly. The problem I am having is that when a fax comes in the owner and group is uucp. Now I would like for certain users to be able to delete the files. So I set the config file so that the recieved faxes are set to 0775, and I made certain users members of the uucp group. But they can not delete them. The only way is to set recieved faxes to 0777 and of course everybody can delete them then. What am I missing here?

Thanks,
Lee

neo77777 06-18-2002 10:16 AM

You can set it up that way so the only members of the groupand the file owner can delete files
chmod 775
other's still have the right to view files. To eliminate this
chmod 770 or to get rid of executable bit
chmod 660 or
chmod 664

neo77777 06-18-2002 10:36 AM

Is uucp group found in /etc/group?
uucp:x:GID
if it is there add to it
uucp:x:GID:user1,user2,...,userN
save the file and quit
everything is done as root.

linuxcool 06-18-2002 10:26 PM

If you have to set the permissions to 777 to allow certain users to delete the faxes, then the faxes probably don't belong to the group uucp. The last seven
( 77 ' 7 ' ) are the permissions for anyone to access the files and that is what it is taking to allow your users to delete the faxes.

Do an ls -l <name_of_fax> and see if the group is uucp.


All times are GMT -5. The time now is 11:18 AM.