Hi,
I use RH 7.1 and have problems with user rights. I have done the following
steps:

as root:

mkdir /test
touch /test/file.txt
chmod 644 /test/file.txt
chown user:group /test
Now the the directory belongs to user "user", but the owner of the file
"file.txt" is root.

as user "user"

vi /test/file.txt 
(vi says that the file "file.txt" is read only)
but with  the vi-command w! it is possible for user "user" to modify the
file.

I check this behavior on other unix machines (Irix and Solaris). On this
plattforms its impossible to modify this file as user "user" (This is that
what I would expect also for linux).
Can anybody help me ?

Thanks

Marco





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to