Partition Acces Problem
I have two DOS partitions which are mounted at boot time /dos/c and /dos/d I can write to them as root, but I cannot write to them as any other user. I dont know why this happends, tryed chmoding and chowning in root in recursive mode, but it does not change anything. I still get a permission denied error.
|
Hi,
You need to mount the DOS partitions with the user parameters - here's how I mount my VFAT USB disk: Code:
/dev/maxtor /mnt/maxtor vfat noauto,owner,users 0 0 -Y1 |
Where should I include this line? inittab in the /etc folder? Beacause the kernel mounts them on default.
|
Hi,
Sorry - forgot to mention that :) The correct file is /etc/fstab (inittab is where you control the different runlevels, and is where you change default runlevel from 3 to 4 to get it to boot into X windows - fstab is where you define the filesystems and such) -Y1 |
I have done that, and now I mount them manualy, but it is the same. I can only mount them as root (otherwise the mount command does not work). And even as root, when I try to change ownership, it gives me an permision denied error. What should I do?
|
Hmm, you included all the owner,users parameters?
What is the permissions on the device ? (/dev/hdx) -Y1 |
For my local vfat partition I use the options
Code:
auto,rw,umask=000 Code:
noauto,rw,user,umask=007 |
I want to mount it automatically at boot-time, but also write on it as a regular user, and have full privilages ...
|
So, after nine posts, could you please post your /etc/fstab file so that we can see what you have instead of letting others repeat the solution over and over again?
Eric |
Here is the contents of fstab file
Code:
/dev/hda3 swap swap defaults 0 0 |
Quote:
Code:
/dev/hda1 /dos/c vfat rw,umask=000 1 0 Eric |
All times are GMT -5. The time now is 11:02 AM. |