File Permission

Eric R. rossiter at discoverynet.com
Thu Apr 3 22:53:20 CST 2003


set the immutable bit if it's an ext2 file system

chattr -i filename

HTH,
E

Adam Davis wrote:
> I'm trying to create a file in another user's directory that that user can
> read but can't delete.  Simply chowning it to root and chmoding it 744,
> 444, anything seems to fail.  The user is able to delete the file despite
> the lack of write permissions.
> 
> If I take away the user's ownership of the directory, the user can't
> delete the files.  But it's important that the user own the directory.
> 
> Any way to accomplish this?
> 
> ~Adam Davis
> 
> 
> 
> 




More information about the Kclug mailing list