LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   fat32 and user/group changing - can this be done? (https://www.linuxquestions.org/questions/linux-software-2/fat32-and-user-group-changing-can-this-be-done-624812/)

konqi 02-29-2008 02:18 PM

fat32 and user/group changing - can this be done?
 
I have a fat32 partition mounted under /home/share (for music etc, so you can listen under linux and windows). I made a group called share, everyone in that group should have access to the fat32 partition.

The problem is that i can't change the group to 'share', even as root. In kde it gives the error:
You have insufficient access to the file to perform the change.

And in a commandline it gives:
Operation not permitted

Does anybody know if its possible to use groups and users on a fat32 partition?

jailbait 02-29-2008 03:43 PM

Quote:

Originally Posted by konqi (Post 3074182)

Does anybody know if its possible to use groups and users on a fat32 partition?

The fat32 file system does not support users, groups, and permissions. Linux fakes these things by giving every fat32 file and directory the user, group, and permissions of the mount point. You cannot change the permissions, etc of the mount point while there is a file system mounted on the mount point.

So log in as root, umount /home/share, change the owner, group, and permissions of /home/share to whatever you want, and mount /home/share again. You may have to make changes to the /home/share line in /etc/fstab also.

-------------------------
Steve Stites

konqi 03-01-2008 06:24 AM

i've unmounted it, changed permissions and mounted it again, but after the mount, the group is back to root and not share.

I don't know what to change in fstab, what should i change?

I think i have to put everyone in the root group, then it will work.


All times are GMT -5. The time now is 07:44 PM.