You are not logged in.
Pages: 1
I've seen so many different ways to mount my windows share in fstab with various (to no) options - users, async, dev, etc.
Problem:
My Documents, My Pictures, and all those other My directories will have the root write permission flag stripped in linux when I boot back and forth. As best I can tell, any of those window directories which have a unique picture icon embedded in them will change that root level write flag. If in XP, I keep those directories with a normal folder icon, the w flag will be persistent between boots.
Anyone else have this problem? If not, all I want to do is r/w and have normal user mount the fat32 share. Can somebody help me with the fstab entry?
Offline
Try "users,gid=users,umask=002" options.
Offline
Thanks, lucke. Works great.
I'm still having problems with mounting options I think, or Windows XP in general. Here's the icon/permission dilemna:
skoal@morpheus:///mnt/windows/My Documents $ ls -ald My\ *
dr-xr-xr-x 7 root users 16384 2007-09-02 15:12 My Backups
dr-xr-xr-x 9 root users 16384 2007-09-02 15:20 My Downloads
drwxrwxr-x 3 root users 16384 2007-05-17 06:18 My Games
dr-xr-xr-x 6 root users 16384 2007-09-02 15:15 My Music
dr-xr-xr-x 5 root users 16384 2007-09-02 15:15 My Pictures
dr-xr-xr-x 2 root users 16384 2007-09-02 15:09 My Received Files
drwxrwxr-x 6 root users 16384 2007-07-15 16:50 My Videos
skoal@morpheus:///mnt/windows/My Documents $ touch hello
touch: cannot touch `hello': Permission denied
skoal@morpheus:///mnt/windows/My Documents $ cd My\ Pictures/
skoal@morpheus:///mnt/windows/My Documents/My Pictures $ touch hello
touch: cannot touch `hello': Permission denied1. Strangely enough, as root I can r/w to even directories marked with w- on them, like My Downloads for example.
2. However, as skoal, I cannot.
3. When I change permissions on w- flagged paths to w+, chmod 775 My\ Downloads, it will work for skoal (in that folder).
4. But from 3, when I go back to XP, the system icons for those My folders marked with w+ will have a missing icon now. And I have to rerun "rundll32 mydocs.dll,PerlUserInit" to get them back.
Any ideas?
Offline
my fstab options are user,exec,noatime,umask=000,gid=100 and it works ok
Offline
NoOne, thanks for your help.
I tried that but still get "Permission denied" when trying to write to folders marked with w-.
You guys must have all your folders marked with at least 77?, since a non root user write for me fails every time. And if I change those permissions so that I can write to them as a non root user, my icons in XP disappear.
I guess I'll have to make due with a 775 on them. I just have to remember not to change those icons in XP back or those permissions will get reset back to 555 next boot into linux.
\\//_
Offline
Pages: 1