on linux, directory has a major permissions than file' has so it can explained your problem, you can try if dir can writeable but file can't, the file still can be writeable.
On Wed, Jan 30, 2002 at 08:05:30AM +0100, Schaerfke, Marco, Dr., Xzillion/DE wrote: > > 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 -- ichtus ------ Lewi Supranata .K ICQ: 50643061
msg70602/pgp00000.pgp
Description: PGP signature