Azureus, FAT32, and File Permissions
I'm dual booting Windows XP with Debian. Most of my harddrive is allocated to a FAT32 partition that both operating systems share. I can read and write to the FAT32 partition with Debian, creating documents and things like that. My problem comes is that when I run Azureus, it can't create files on the partition. It has no problem using my /home directory, but it won't touch my FAT32 partion.
Here's my /etc/fstab file: Code:
# <file system> <mount point> <type> <options> <dump> <pass> |
Drop defaults from the begining of the options.
|
Quote:
Code:
proc /proc proc defaults 0 0 |
/dev/hda5 /windows/media vfat rw,user,umask=0000 0 2
No like above. Also the umask could need an extra 0. |
Thanks, I'll check it out.
|
It's still not working. :(
I thought that it may have to do with the permissions of /windows/media/, where the partition is mounted. I've been trying to set it up like the /home directory with group/user for /windows being staff/root and the group/user for /windows/media being ben/ben. That would be convient, since /windows/media is My Documents in Windows. Then I could just make a link to it and have My Music, My Pictures, etc in my /home directory. But I can't change the membership/ownership of /windows/media, only /windows, even as root. The recurisive option doesn't work, either. Oh, and I tried mounting /dev/hda5 as /home/ben/media, too. Here's my current setup: fstab Code:
# /etc/fstab: static file system information. |
you should have four zeros on umask=0000. You can give a uid or gid for the device.
If your user id is a 1000. /dev/hda5 /windows/media vfat rw,users,umask=0000,uid=1000 0 0 |
Okay, I set my uid and gid in fstab:
Code:
/dev/hda5 /windows/media vfat rw,users,umask=0000,uid=1000,gid=1000 0 0 http://img.photobucket.com/albums/v6...ureuserror.png Could this somehow be related to Java? (grasping at straws...) |
Try opening the file in something else. If it opens ( which I think it will ) then its a fault in the program your trying to use. or its set up.
|
FAT does not support Linux permissions, so you will be stuck to whatever permissions you set through fstab or the mount command. You can add a group called windows and note the gid number. Then specify the gid in your fstab file. Next pick users that you want to have access to the drive by adding them to the group.
After you mount /dev/hda5, make sure you chmod it too 777. |
Quote:
I'm at a loss as what else to do. If I modify Azureus' start script to do a sudo before it launches the JAR file, will the files it writes to my directory be owned by root, or will they assume the permissions and ownership of the directory they are written to? I can live with that, I guess... |
Quote:
|
All times are GMT -5. The time now is 11:59 AM. |