Mailinglist Archive: opensuse-security (206 mails)
| < Previous | Next > |
Re: [suse-security] permissions question
- From: lists@xxxxxxxxxxxx
- Date: Sun, 18 Jun 2000 03:44:45 +0530 (IST)
- Message-id: <Pine.LNX.4.21.0006180343500.29934-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Try using 'chattr' . I have reiserfs so chattr is not working. It should
work on ext2.
On Sat, 17 Jun 2000, alex medvedev wrote:
--
/*****************************************************************.
# Indraneel Majumdar # E-mail: indraneel@xxxxxxxxxxxx #
# 4/2 Arobindo Avenue, # URL: http://scorpius.iwarp.com #
# Durgapur, India 713204 # Tel: +91-343-563571 #
`*****************************************************************/
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@xxxxxxxx
For additional commands, e-mail: suse-security-help@xxxxxxxx
--
/*****************************************************************.
# Indraneel Majumdar # E-mail: indraneel@xxxxxxxxxxxx #
# 4/2 Arobindo Avenue, # URL: http://scorpius.iwarp.com #
# Durgapur, India 713204 # Tel: +91-343-563571 #
`*****************************************************************/
| < Previous | Next > |