stupid Question.
Can't user "root" remove any Files from other eDirectory User on NSS
Volumes?
Thomas
Thank You for the Link!
Hmm, then i must do something wrong.
Let me explain.
- I put a File via Novell Client to a NSS Volume as a LUM Enabled User
(Maybe User "Thomas")
- I login (ssh) as user "root" to OES2 Server
- I can see the stored file from User "Thomas"
- I can not remove this file as User "root" ?
Can you do that?
Thomas
I installed latest Patches and reboot the Machine.
Root could not remove the file again.
But i found the File have the "Read Only" Flag!
After i uncheck these Flag with help of Novell Client, root can delete
this File!?
Is this work as design?
This would be bad, because i can't run cron Scripts on these Directory's
when root didn't have full access...
Regards
Thomas
[...]
> You can modify NSS attributes from the cli / scripts using the 'attrib'
> (http://www.novell.com/documentation/oes2/stor_nss_lx_nw/?page=/documentation/oes2/stor_nss_lx_nw/data/attrib.html)
> command. It also support recursive operations, and can be executed
> from find -exec ...
[...]
Thanks to all!
Very usefull Infos.
Thomas
Native Linux file systems (that have attributes) behave the same way.
For instance ext3 and "append only".
Thorsten
Actually I meant "immutable" and not "append only" (which should behave
similarly):
root@sles11:~/tmp # touch immutable.txt
root@sles11:~/tmp # chattr +i immutable.txt
root@sles11:~/tmp # rm -f immutable.txt
rm: cannot remove `immutable.txt': Operation not permitted
root@sles11:~/tmp # chattr -i immutable.txt
root@sles11:~/tmp # rm -f immutable.txt
root@sles11:~/tmp #
Thorsten