You are not logged in.
chown doesn't work.
I need access to it by everybody read and write mostly
Last edited by Bysshe (2010-05-13 01:04:26)
Offline
"chmod 777 <dir>" will give everyone full access to the directory. "chmod 1777 <dir>" will allow only the creator of files to delete them.
Offline
I'm getting permission denied using all commands as super user and using sudo. I can verify it's exclusively owned by root:root.
Offline
the chmod command isn't denied, it just doesn't solve the problem.
Offline
More info would be helpful, right?
It's sharing access with Windows Vista by dual booting. I can write to the directory only as root. It has read permissions for all else. I still can't figure out how to give it write permission with chmod not working. That's why I started tyring to change ownership, which comes up permission denied even as root.
[rob@rob SAVE]$ ls -l
total 32
drwxr-xr-x 2 root root 16384 May 11 19:46 $RECYCLE.BIN
drwxr-xr-x 2 root root 16384 May 12 14:42 Sony
In addition, it is a FAT partition created when I first installed Arch. It never had access to Windows until I connected another drive and did the map (hd0) blah blah crap to make that work.
Last edited by Bysshe (2010-05-13 00:03:47)
Offline
I am going to try setting directory permission in fstab. ....no...that's mount permissions....
Last edited by Bysshe (2010-05-13 00:08:17)
Offline
Fat has no inherent permissions feature. It is set by how you mount it. So yes, you have to set the right options in fstab.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
I thought so, but the option is set as "defaults" like all other partitions. I guess I can try "rw, user" and see what happens.
*Nah, didn't accomplish anything. Just tried that and yeah rw,user not rw, user.
Last edited by Bysshe (2010-05-13 00:20:16)
Offline
In man mount look at the section Mount options for fat, specifically umask, dmask and fmask. See if those help.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
It's not having problems being mounted. It's readable by all. I need-in addition-write access by the user. chmod gives no output, and doesn't effectually work. all other commands give permission denied.
Offline
It's all there in the man page under the section for fat.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Bingo. You're awesome. I just set umask=0000
There is probably a better way to do it. maybe 0002 instead. I'll look back at this thread when I get the chance. I think that setting makes it wide open.
Last edited by Bysshe (2010-05-13 01:05:53)
Offline