Understanding Access Rights - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html) +---- Forum: Filesystem Management (https://www.linux-noob.com/forums/forum-26.html) +---- Thread: Understanding Access Rights (/thread-2458.html) |
Understanding Access Rights - znx - 2005-08-28 Understanding Access Permissions Using file/directory permissions can be a little bit tricky when you come from the Microsoft world. At some points I will say "root" or more correctly UID 0, these things are the same. Main Utilities: chmod - Change access permissions of files chown - Change file owner and group And for more experienced users: stat - Display file or filesystem status The access rights determine if a process can access a file in a particular method. These rights specify read, write and execute and are further controlled by user, group and other. Quick glance at how file permissions look: Code: znx@loud $ ls -l file Taking each bit as it goes: - This represents the file type, file (-) and directory (d) are all you need right now, there are more but it will just confuse matters. rw- The first three indicate the permissions for the file owner (znx), read Understanding Access Rights - Condor - 2005-08-29 nice tutorial.. Condor Understanding Access Rights - xDamox - 2005-08-29 Good tutorials znx :) hope to see this on tutorials.linux-noob.com Understanding Access Rights - znx - 2005-08-29 Quote:nice tutorial... thank you.. :) Quote:Good tutorials znx :) hope to see this on tutorials.linux-noob.com Yeah, im going to expand it to include ACLs as I have to deal with these constantly at work, after which it will defn. be in with the tutorials B) Understanding Access Rights - anyweb - 2005-08-29 topic pinned and moved nice one znx, keep up the good work dude ! cheers anyweb Understanding Access Rights - znx - 2006-09-02 Wow .. took me long enough to add the stuff about ACLs :) Understanding Access Rights - anyweb - 2006-09-03 Quote:Wow .. took me long enough to add the stuff about ACLs :) heh, better late than never :)(that's one of my favorite mottos, and it's so true) good work znx :) cheers anyweb Understanding Access Rights - Green Possum - 2008-01-20 One small nit. It's UID 0 that's root's UID, not UID 1. Understanding Access Rights - znx - 2008-01-20 Thanks so much Green Possum, how could I miss something so obvious hehe :)! Fixed |