change ownership issue

Andrew Bacchi bacchi at rpi.edu
Tue Mar 14 17:11:20 UTC 2006


Try chgrp on the directory holding the file.

Blackburn, Marvin wrote:

>That wont allow overwrite nor delete :( 
>
>  
>
>>-----Original Message-----
>>From: redhat-list-bounces at redhat.com 
>>[mailto:redhat-list-bounces at redhat.com] On Behalf Of Andrew Bacchi
>>Sent: Tuesday, March 14, 2006 11:56 AM
>>To: General Red Hat Linux discussion list
>>Subject: Re: change ownership issue
>>
>>If it's a manageable number of users, I would create a common 
>>group, add 
>>all users uid and the application uid to that group.  Then chgrp the 
>>file to the common group with write permission.  As you create new 
>>users, add them to the common group as well ad their own group.
>>
>>chgrp commongroup filename
>>chmod g+w filename
>>
>>
>>
>>Blackburn, Marvin wrote:
>>
>>    
>>
>>>We have users that create files with a certain name.  
>>>We also have applications which often need to overwrite 
>>>      
>>>
>>these files --
>>    
>>
>>>not change the contents.
>>>However, if the users have created the file -- the 
>>>      
>>>
>>application does not
>>    
>>
>>>have the pemissions to replace it,
>>>and the user cant change the ownership on his on.
>>>
>>>Any ideas how I might be able to rectify this?
>>>
>>>------------------
>>>Marvin Blackburn
>>>Systems Administrator
>>>Glen Raven
>>>"He's no failure.  He's not dead yet" --William Lloyd George  
>>>
>>>
>>> 
>>>
>>>      
>>>
>>-- 
>>veritatis simplex oratio est
>>		- Seneca
>>
>>Andrew Bacchi
>>Staff Systems Programmer
>>Rensselaer Polytechnic Institute
>>phone: 518 276-6415  fax: 518 276-2809
>>
>>http://www.rpi.edu/~bacchi/
>>
>>
>>-- 
>>redhat-list mailing list
>>unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>>https://www.redhat.com/mailman/listinfo/redhat-list
>>
>>
>>    
>>
>
>
>  
>

-- 
veritatis simplex oratio est
		- Seneca

Andrew Bacchi
Staff Systems Programmer
Rensselaer Polytechnic Institute
phone: 518 276-6415  fax: 518 276-2809

http://www.rpi.edu/~bacchi/





More information about the redhat-list mailing list