Quote:
|
Originally Posted by Absent Shdow
well i think i figured out how to do it but it says only the 'Owner' can move files... But I AM the owner. How can i give myself privledges?
|
What file are you talking you are the owner of? The way to look in a terminal is:
Code:
$ ls -la
drwxrwxr-x 2 justin justin 4096 Dec 18 11:32 Documents
That means the following:
d = directory
r = read (owner)
w = write (owner)
x = execute (owner)
r = read (group)
w = write ( greop)
x = execute (group)
r = read (other)
- = no permision (other)
x = execute (other)
first justin = owner
second justin = group
So this means that the:
User justin has read/write/execute permisions on the dir Documents
Group justin has read/write/execute permisions on the dir Documents
Other(everyone on the system) can read/execute the dir Documents but can't write to it.
Example with a text file:
Code:
$ touch readme
$ ls -la readme
-rw-rw-r-- 1 justin justin 0 Dec 22 22:26 readme
$ chmod u+x readme ; chmod go-rwx readme
[justin@morpheus ~]$ ls -la readme
-rwx------ 1 justin justin 0 Dec 22 22:26 readme
- = file
The rest of that means that only the user "justin" can read/write/execute the file readme, while the rest of the world can't even view it.
Code:
$ echo test 1,2,3 >> readme
$ cat readme
test 1,2,3
As you can see me "justin" could write and view the file readme
Thats as good as my explanation can get