Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using Fedora 6 and it works fine, except that when I use an external disk the group is always set to root and it can't be changed, neither can the perms.
I get this at cmd line
[root@Strangeness media]# chgrp newgrp MATRON/
chgrp: changing group of `MATRON/': Operation not permitted
Not really a problem until I want to use rsync - which fails because it needs to change the perms/group temporarily.
Since this is Fedora6, I am assuming that the pendrive is being automounted when you plug it in. As such, I am sure that there is a setting somewhere amongst the automount settings that also sets the group ownership of the drive when it mounts.
Unfortunately, I don't really know how Fedora handles pendrive mountings these days, so beyond that I am pretty much useless without installing Fedora 6 on a box myself and playing with it for a little while.
It looks like the problem is that it is formatted as windoze partition, vfat has no notion of groups/ownership etc and so it cannot be changed. ntfs will have the same problem I am told. It would be good if fedora had covered this problem by allowing it at a local level to allow rsync etc to run - perhaps in the next release....
I tried mounting manually and I get the same problem so it looks like reformatting to ext3 will be the solution.
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
excellent your post saying what you find out
Quote:
windoze partition, vfat
In your interest in the future try to give as much details as possible, if you had posted the result of mount we would straight away "said vfat", forget about it. Just see it as a learning point
Group permissions on vfat can be changed when mounting but not when mounted. I use vfat a lot so i have edited fstab , changed gid=0 to some other group number X , which in turn gives group X write permissions. This can also be done by mount -t vfat .. command with gid=X as an option. (of course unmount usb drive first or use remount option)
Last edited by my.dying.bride; 12-07-2006 at 10:03 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.