I thought root could do anything...
Could someone disabuse me of whatever I've got awry here: I have a bunch of files with rwxrwx--- permissions (x only on scripts!) owned by dylan group dandg. group dandg covers only my boyfriend and I, and the files are our personal stuff (hence 'other' has no read access) They are in a directory with the same properties/ownership. NOW, I cannot do file ops on these as root. I thought root was exempt. It can delete files with rw-rw-r--, afterall. -- Dylan dylan@dylan.me.uk HTML mail will be rejected
On Tue, 06 Aug 2002 20:40:35 +0100, Dylan wrote:
NOW, I cannot do file ops on these as root. I thought root was exempt. It can delete files with rw-rw-r--, afterall.
What is the error message you receive for each operation you are attempting? -- David Benfell, LCP benfell@parts-unknown.org --- Resume available at http://www.parts-unknown.org/resume.html
On Tuesday 06 August 2002 20:02, David Benfell wrote:
On Tue, 06 Aug 2002 20:40:35 +0100, Dylan wrote:
NOW, I cannot do file ops on these as root. I thought root was exempt. It can delete files with rw-rw-r--, afterall.
What is the error message you receive for each operation you are attempting?
Access denied (or equivalent) i.e. not enough privelidges - just like user joebloggs trying the same. -- Dylan dylan@dylan.me.uk HTML mail will be rejected
Dylan writes:
Could someone disabuse me of whatever I've got awry here:
I have a bunch of files with rwxrwx--- permissions (x only on scripts!) owned by dylan group dandg.
group dandg covers only my boyfriend and I, and the files are our personal stuff (hence 'other' has no read access) They are in a directory with the same properties/ownership.
NOW, I cannot do file ops on these as root. I thought root was exempt. It can delete files with rw-rw-r--, afterall.
man lsattr man chattr When I was hacked once the script kiddies did some trick like this that prevented me from deleting files. Is the filesystem ext2? There might be a similar tool for reiser.
On Tuesday 06 August 2002 21:40, Dylan wrote:
NOW, I cannot do file ops on these as root. I thought root was exempt. It can delete files with rw-rw-r--, afterall.
You don't need permissions on a file to delete it, you need write permission on the directory it's in (unless that directory has the sticky bit set, see man chmod) What file ops are you attempting? //Anders -- `When I use a word,' Humpty Dumpty said in rather a scornful tone, `it means just what I choose it to mean -- neither more nor less.'
participants (4)
-
Anders Johansson
-
David Benfell
-
Dylan
-
Jesse Marlin