You are not logged in.

#1 2005-05-20 18:18:48

Carbono
Member
From: Quebec City, Canada
Registered: 2005-04-13
Posts: 54

Can't change permissions for filesystems (even as root!)

Hi-

I have been using Arch for about a month now and I'm lovin'it!

There are 2 things I don't get:

1- I can't chage permissions for my /mnt/shared filesystem. It' s a vfat partition I share between XP and Arch. When I chmod -Rv 777 /mnt/shared,
it says every files were changed to rwx (This is what I want). But if I look at the changes with ls -l, nothing has changed...

All the files under /mnt/shared are set to:    -rwxr-xr-x   root root   filename
All the directories are set to:            drwxr-xr-x    root root directory name

Why?

(I tried to chown droletg /mnt/shared as root but I got an 'Operation not permitted', Re-Why?)


2- I want my external hard disk to be mounted at bootup so I edited my fstab (as root):

/dev/sda1        /mnt/external      vfat   defaults,user,auto    0       0

It didn't worked. To access data on this disk, I need to log on as su and mount -a or mount /mnt/external.


Why?

Thanks for helping.

Gui

Offline

#2 2005-05-20 18:26:08

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Can't change permissions for filesystems (even as root!)

ummm  vfat doesn't support permissions... you'll have to change it on the mount command

Offline

#3 2005-05-20 19:31:47

jerem
Member
From: France
Registered: 2005-01-15
Posts: 310

Re: Can't change permissions for filesystems (even as root!)

Use the umask option and if you want to run programs on a vfat fs then use the exec option.

Look at the basic documentatin for mount and /etc/fstab.

Offline

#4 2005-05-20 23:58:56

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: Can't change permissions for filesystems (even as root!)

1- I can't chage permissions for my /mnt/shared filesystem. It' s a vfat partition I share between XP and Arch. When I chmod -Rv 777 /mnt/shared,

did you mount it first - then change permissions ?

i apologise if that sounds silly, but, if u use Knoppix and try and change permissions, it tells you to mount the drive first.

second :
http://www.unixguide.net/linux/faq/09.22.shtml

Offline

#5 2005-05-21 03:45:29

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Can't change permissions for filesystems (even as root!)

Kern, vfat doesnt support permissions.

/dev/lacie5 /home/iphitus/Multimedia vfat noauto,user,exec,umask=000 0 0

thats a line from my fstab for a vfat partition. you set the permissions for the files to appear as with the umask option, atm they appear 777.

iphitus

Offline

Board footer

Powered by FluxBB