[LBo] File permissions
Jason Armstrong
jarmstrong at gmx.net
Tue Jun 12 22:33:59 CEST 2007
> "users" is the group for the pictures directory. I've set the group suid
> and umask on the "pictures" directory, but the pictures transferred from the
> removable media card maintain the permissions on the card, and do not
> inherit the permissions I set on the directory. Someone in a Linux chat
> room said I need to find the file that is assigning the permissions to the
> removable media card, and change the permissions in that file to the
> permissions I want. Do you know where this file maybe located?
Hi Troy,
You set the permissions and ownership of the flash drive and contents based on
who owns the mount point.
If your flash drive is set as the mountpoint:
/mnt/flash
do (without the drive being mounted):
sudo chown myusername:mygroupname /mnt/flash
sudo chmod 755 (or whatever permissions you want) /mnt/flash
After you mount it the files should be displayed with the correct owner, group,
and permissions.
Cheers,
Jason
More information about the QnA
mailing list