Why am I unable to change read permissions with chmod?

1

If I type this in the terminal

chmod -R g+r "/media/truecrypt1/My folder/"*

and then check the result wiht

ls -l

I still get

-rwx------ 1 user user 127860 2012-03-16 15:45 sample.pdf

What's wrong?

I've also tried sudo, but it didn't work.

Surfer on the fall

Posted 2012-04-04T11:01:58.520

Reputation: 93

Answers

1

try this.

chmod -R g=r "/media/truecrypt1/My folder/"*

masay

Posted 2012-04-04T11:01:58.520

Reputation: 126

Thanks but it doesn't work – None – 2012-04-04T11:08:50.917

1did you try with root user? – None – 2012-04-04T11:09:47.373

I've tried with sudo but nothing. – None – 2012-04-04T11:10:04.443

3if your media is ntfs (apperantely it is) chmod or chown does not work for ntfs.You can mount your ntfs media manually with giving exact permission.Something like

sudo mount -t ntfs -o rw,auto,user,fmask=0022,dmask=0000 /dev/whatever /mnt/whatever – None – 2012-04-04T11:15:28.843