user can edit root file, why ?

2002-01-30 Thread Schaerfke, Marco, Dr., Xzillion/DE
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/fi

user can edit root file, why ?

2002-01-29 Thread Schaerfke, Marco, Dr., Xzillion/DE
> 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. > >