Fedora This forum is for the discussion of the Fedora Project. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-22-2005, 09:08 AM
|
#1
|
Member
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49
Rep:
|
Can't change permissions of Windows partition
Hi. I performed the usual commands
mkdir /mnt/win
mount -t vfat /dev/hda2 /mnt/win
to mount my only Windows ME partition, and as user and root I can read all the files on that partition, but I can't write to it as a regular user. I tried logging in as root and changing the group and permissions of /mnt, /win, and then My Documents by right-clicking them and selection the permissions tab. Fedora did let me change the group and permissions of /mnt but not /win or My Documents. When I try it says something like "Sorry, you don't have permission to change the group" and when I try to simply change the permissions by checking the boxes, they are unchecked immediately after I check them.
As root, shouldn't I be able to change these settings?
I know I could make a shared partition, but I was hoping to keep it simple this way.
|
|
|
05-22-2005, 09:50 AM
|
#2
|
Member
Registered: Jul 2004
Location: Czech Republic - Roudnice nad Labem
Distribution: Debian
Posts: 253
Rep:
|
mount -o umask=0,quiet -t vfat /dev/hda2 /mnt/win
or just add this to /etc/fstab
Code:
/dev/hda2 /mnt/win vfat defaults,umask=0,quiet
BTW: You cannot change "My documents" permissions because FAT32 doesn't support any kind of permissions,
|
|
|
05-22-2005, 03:41 PM
|
#3
|
Member
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49
Original Poster
Rep:
|
Thanks a lot for your post, Vookimedlo. I appreciate your help. What does the -o umask=0,quiet argument do exactly? Will it let me write to my Windows folders and files as a non-root user?
|
|
|
05-30-2005, 08:36 PM
|
#4
|
Member
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49
Original Poster
Rep:
|
Quote:
Will it let me write to my Windows folders and files as a non-root user?
|
Oops. Obviously it will let me. I meant How will it let me write to my Windows folders and files as a non-root user?
I just meant what does the -o umask=0,quiet argument do to let me write to the Win folders as non-root.
|
|
|
05-31-2005, 02:03 AM
|
#5
|
Member
Registered: Apr 2004
Posts: 42
Rep:
|
I was having the same problem......But
From what I can gather.
Sets the permission mask of the mount to rwx for every user and group.
Attempts to chown or chmod files do not return errors, although they fail. Use with caution!
The owner remains root, but this will allow anybody to use the data and change it.
Its a bit lazy because you should pracise setting permissions for certain users only, blah, blah.
I hope it helps.
|
|
|
06-05-2005, 03:17 PM
|
#6
|
Member
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49
Original Poster
Rep:
|
Thanks for your post, fred22. It's great to have your help.
Quote:
Attempts to chown or chmod files do not return errors, although they fail. Use with caution! Its a bit lazy because you should pracise setting permissions for certain users only, blah, blah.
|
What fails exactly? I know what you mean about rwx for all users; that is a little risky. The problem is that I tried to change the group settings for /mnt/win to allow only root and myself to access it, but I got an error message saying that (even though I was logged in as root) I didn't have permission to modify group settings. What did you do to allow yourself write access to you win partition as regular user?
|
|
|
All times are GMT -5. The time now is 12:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|