Yes, If you chown,chgrp it should work Peter C. Hinkle drumvudu@flash.net http://sites.netscape.net/drumvoodoo1/linuxlinks SuSE Linux 2.2.13 On Sun, 18 Jun 2000 lists@123india.com wrote:
Try using 'chattr' . I have reiserfs so chattr is not working. It should work on ext2.
On Sat, 17 Jun 2000, alex medvedev wrote:
hallo,
can a root user create a file in a regular user's home directory so that the regular user can not remove it? it does not seem to work...
----------------- start ------------------------------------ $ pwd /home/alexm $ id uid=1000(alexm) gid=100(users) groups=100(users) $ ls -l file1 -rwx------ 1 root root 0 Jun 17 14:35 file1 $ rm file1 rm: remove write-protected file `file1'? y $ ls -l file1 ls: file1: No such file or directory $ ------------------ end --------------------------------------
thanks,
-alexm
--------------------------------------------------------------------- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com
-- /*****************************************************************. # Indraneel Majumdar # E-mail: indraneel@123india.com # # 4/2 Arobindo Avenue, # URL: http://scorpius.iwarp.com # # Durgapur, India 713204 # Tel: +91-343-563571 # `*****************************************************************/
--------------------------------------------------------------------- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com