Ubuntu Cannot change permissions on files I own and have RW to.
Posted
by
madmaze
on Super User
See other posts from Super User
or by madmaze
Published on 2011-01-17T01:30:02Z
Indexed on
2011/01/17
1:55 UTC
Read the original article
Hit count: 377
Hello there, I have a harddrive full of backups which for me is mounted at /media/chronus_ I have been trying to give another user rw permission to this drive.
The problem is that I cannot change any permissions on this drive, even if i make a new file it puts sets everything to -rw------- here is an excerpt of what i have tried:
madmaze@the-gibson:~$ touch testfile
madmaze@the-gibson:~$ ls -l testfile
-rw-r--r-- 1 madmaze madmaze 0 2011-01-16 20:11 testfile
madmaze@the-gibson:~$ chmod 777 testfile
madmaze@the-gibson:~$ ls -l testfile
-rwxrwxrwx 1 madmaze madmaze 0 2011-01-16 20:11 testfile
madmaze@the-gibson:~$ cd /media/chronos_/Pix/
madmaze@the-gibson:/media/chronos_/Pix$ ls -l
total 4100
-rw------- 1 madmaze madmaze 28226 2011-01-16 20:18 avp.jpg
-rw------- 1 madmaze madmaze 5764 2011-01-16 20:18 avpsmall.jpg
-rw------- 1 madmaze madmaze 98414 2011-01-16 20:18 john.jpg
-rw------- 1 madmaze madmaze 98785 2011-01-16 20:18 lisa.jpg
-rw------- 1 madmaze madmaze 3954281 2011-01-16 20:18 peter.jpg
madmaze@the-gibson:/media/chronos_/Pix$ chmod 777 *.jpg
madmaze@the-gibson:/media/chronos_/Pix$ ls -l
total 4100
-rw------- 1 madmaze madmaze 28226 2011-01-16 20:18 avp.jpg
-rw------- 1 madmaze madmaze 5764 2011-01-16 20:18 avpsmall.jpg
-rw------- 1 madmaze madmaze 98414 2011-01-16 20:18 john.jpg
-rw------- 1 madmaze madmaze 98785 2011-01-16 20:18 lisa.jpg
-rw------- 1 madmaze madmaze 3954281 2011-01-16 20:18 peter.jpg
madmaze@the-gibson:/media/chronos_/Pix$ sudo chmod 777 *.jpg
madmaze@the-gibson:/media/chronos_/Pix$ ls -l
total 4100
-rw------- 1 madmaze madmaze 28226 2011-01-16 20:18 avp.jpg
-rw------- 1 madmaze madmaze 5764 2011-01-16 20:18 avpsmall.jpg
-rw------- 1 madmaze madmaze 98414 2011-01-16 20:18 john.jpg
-rw------- 1 madmaze madmaze 98785 2011-01-16 20:18 lisa.jpg
-rw------- 1 madmaze madmaze 3954281 2011-01-16 20:18 peter.jpg
madmaze@the-gibson:/media/chronos_/Pix$ touch testfile
madmaze@the-gibson:/media/chronos_/Pix$ ls -l testfile
-rw------- 1 madmaze madmaze 0 2011-01-16 20:25 testfile
madmaze@the-gibson:/media/chronos_/Pix$ chmod 777 testfile
madmaze@the-gibson:/media/chronos_/Pix$ ls -l testfile
-rw------- 1 madmaze madmaze 0 2011-01-16 20:25 testfile
madmaze@the-gibson:/media/chronos_/Pix$
Any Ideas what I could be doing wrongly?
© Super User or respective owner