LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Change ownership (https://www.linuxquestions.org/questions/suse-opensuse-60/change-ownership-381254/)

apffal 11-08-2005 06:47 PM

Change ownership
 
Using Suse 10, I cannot permanently change ownership in a vfat formatted usb disk (Sandisk) .
Can someone helps ?

c.m.klaij 11-09-2005 03:08 AM

vfat does not have permisions and ownership! You can't set any permanent info on the partition itself, only via mount options.

You can impose ownership with the uid/gid options and permissions with the umask option.

You fstab should have a line like this:

/dev/hdb1 /mnt/vfat_usb vfat umask=077,uid=1000 0 0

In this case all files on the disk will be -rw------ for the guy with uid 1000. Hope this helps.


All times are GMT -5. The time now is 01:07 AM.