Computing.Net > Forums > Linux > chmod problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

chmod problem

Reply to Message Icon

Name: martin
Date: March 24, 2003 at 09:08:44 Pacific
OS: rh8
CPU/Ram: 800mhz/256mbram
Comment:

I want to change the permisions of my /home/data directory (vfat). I type in: "[root@localhost user]# chmod 777 -cvR /home/data/" this a part of the output:

chmod: changing permissions of `/home/data//System Volume Information/_restore{0FF70A7C-9F67-449F-9E7D-62060D89407F}/rp5/a0005907.ini' (requested: 0777, actual: 0755): Operation not permitted
mode of `/home/data//System Volume Information/_restore{0FF70A7C-9F67-449F-9E7D-62060D89407F}/rp5/a0005908.ini' changed to 0777 (rwxrwxrwx)
chmod: changing permissions of `/home/data//System Volume Information/_restore{0FF70A7C-9F67-449F-9E7D-62060D89407F}/rp5/a0005908.ini' (requested: 0777, actual: 0755): Operation not permitted

can someone help me?
thanks in advance



Sponsored Link
Ads by Google

Response Number 1
Name: Kerry
Date: March 24, 2003 at 11:09:06 Pacific
Reply:

You can't use the "R". For some reason, it is trying to set permissions on your Windows system restore files. This would be a BAD idea. No one should ever modify or read those from a non-WindowsXP environment.

If you REALLY MUST do a 777, then you'll have to do it directory-by-directory. Maybe write a small shell script....


0

Response Number 2
Name: martin
Date: March 24, 2003 at 11:59:02 Pacific
Reply:


if I try to change a normal directory (without the R option) I get the same output:

[root@localhost user]# chmod 777 -cv /home/data/files
mode of `/home/data/files' changed to 0777 (rwxrwxrwx)
chmod: changing permissions of `/home/data/files' (requested: 0777, actual: 0755): Operation not permitted



0

Response Number 3
Name: 3Dave
Date: March 25, 2003 at 04:03:41 Pacific
Reply:

That is because you are trying to set file
permissions on a FAT partition...which
dosn't support it. You could either use
UMSDOS instead (although you may lose things
like long file names) or better still,
change the entry in your /etc/fstab to
include user and group permissions, eg:

/dev/hda1 /home/data vfat
uid=500,gid=500,umask=002,exec,dev,suid,rw 0
0


0

Response Number 4
Name: 3Dave
Date: March 25, 2003 at 04:04:29 Pacific
Reply:

BTW the "R" switch does work for chmod


0

Response Number 5
Name: martin
Date: March 26, 2003 at 09:27:36 Pacific
Reply:

thank you very much. You really helped me
out.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: chmod problem

firewall problem - chkconfig www.computing.net/answers/linux/firewall-problem-chkconfig/15289.html

sound problem www.computing.net/answers/linux/sound-problem/16116.html

RH 7.3 problems www.computing.net/answers/linux/rh-73-problems/10099.html