Does owner ignore the file or folder permission restrict?

  • LeoZhang
  • Student
  • Student
  • LeoZhang
  • Posts: 80
  • Loc: China

Post 3+ Months Ago

I create a file and remove the rwx permission to owner and group and anyone , but I still can modify the file , why?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Are you root? You mean the perms are now 000? (--- --- ---)? Why would you even do that?

You really have to provide more information. (Ex. If you are using AFS as your filesystem, there are seperate acl's for every created file based upon the DCE permissions.)

Keep in mind the perms are for owner, group, and other.
  • LeoZhang
  • Student
  • Student
  • LeoZhang
  • Posts: 80
  • Loc: China

Post 3+ Months Ago

Daemonguy wrote:
Are you root? You mean the perms are now 000? (--- --- ---)? Why would you even do that?

You really have to provide more information. (Ex. If you are using AFS as your filesystem, there are seperate acl's for every created file based upon the DCE permissions.)

Keep in mind the perms are for owner, group, and other.


Yes, im root.
In windows, administrator is also restricted by the file permission unless he take the ownership, in Linux root can full control all files and ignore the file permission restrict?
  • Xel02
  • Proficient
  • Proficient
  • Xel02
  • Posts: 261

Post 3+ Months Ago

Well it seems like it, I've never actually noticed before. I'm using Gentoo, and I'm guessing thats the default.

That's why its such a bad idea to do things in root without needing root permissions.

Oh well, just try not to do an accidental 'rm' on things. :D

Note. I did that once when a few filesnames started with ?? and I did rm -r ??*. It was a sad day....
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

LeoZhang wrote:
Daemonguy wrote:
Are you root? You mean the perms are now 000? (--- --- ---)? Why would you even do that?

You really have to provide more information. (Ex. If you are using AFS as your filesystem, there are seperate acl's for every created file based upon the DCE permissions.)

Keep in mind the perms are for owner, group, and other.


Yes, im root.
In windows, administrator is also restricted by the file permission unless he take the ownership, in Linux root can full control all files and ignore the file permission restrict?


Number one, NEVER log in as root, unless it's single user mode at the console.
Use 'su', or install 'sudo'.

Yes, root has access to all, regardless.
  • LeoZhang
  • Student
  • Student
  • LeoZhang
  • Posts: 80
  • Loc: China

Post 3+ Months Ago

Thank you all

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 77 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.