View previous topic :: View next topic |
Author |
Message |
athlonkmf n00b

Joined: 02 Jun 2002 Posts: 37
|
Posted: Sun Jun 02, 2002 5:31 pm Post subject: Can't chmod or chown on mounted system. |
|
|
Ok, this is the problem.
I've installed Gentoo exactly acording to the install-doc.
Now, i have mounted my windows fat32-partitions on /mnt/windowdrive* but as a user I can't do anything with these files, so I wanted to chmod some of them to 777.
Although there were no errormessages, the files didn't seem to be affected with the chmod-commands.
So I decided to simply chown the files to the user, but then I get the message: Operation not permited even though I'm logged in a console as root
Anyone know what the problem may be?
I've tried to add the strings user or defaults in the fstab for some partitions to test it, but still no success.
Of course, I'm able to write or delete as root, but that's not the solution |
|
Back to top |
|
 |
Zu` l33t

Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Sun Jun 02, 2002 5:44 pm Post subject: |
|
|
FAT32 doesn't support file permissions. So trying to chmod those files on a filesystem like that won't work. |
|
Back to top |
|
 |
athlonkmf n00b

Joined: 02 Jun 2002 Posts: 37
|
Posted: Sun Jun 02, 2002 5:55 pm Post subject: |
|
|
Zu` wrote: | FAT32 doesn't support file permissions. So trying to chmod those files on a filesystem like that won't work. |
so how am i suppose to edit those files as a normal user then? umask?
And it's the same problem for smbfs-filessystems actually
Last edited by athlonkmf on Sun Jun 02, 2002 5:57 pm; edited 1 time in total |
|
Back to top |
|
 |
craftyc Guru

Joined: 23 May 2002 Posts: 443 Location: Behind You.
|
Posted: Sun Jun 02, 2002 5:56 pm Post subject: |
|
|
I have the same problem. What can be done? _________________ Postcount ++ |
|
Back to top |
|
 |
Maldrim n00b


Joined: 30 May 2002 Posts: 30
|
Posted: Sun Jun 02, 2002 6:04 pm Post subject: |
|
|
Edit your fstab and modify/or add the umask=(Your desired setting) that way the drive will be mounted with the permissions you want.
umask=0 is the equivalent of chmod 777 |
|
Back to top |
|
 |
lx Veteran


Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Sun Jun 02, 2002 9:20 pm Post subject: |
|
|
In addition to umask the options uid (user id) and gid (group id) can be used in the option field of /etc/fstab to specify a more detailed protection, check man mount -> fat for more specific info. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
 |
craftyc Guru

Joined: 23 May 2002 Posts: 443 Location: Behind You.
|
Posted: Sun Jun 02, 2002 9:59 pm Post subject: |
|
|
OK I tried it and it worked perfectly. Thanks. _________________ Postcount ++ |
|
Back to top |
|
 |
|