LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-01-2006, 09:31 AM   #1
roxberry1
LQ Newbie
 
Registered: Jan 2006
Posts: 16

Rep: Reputation: 0
permissions Fedora and xp drive


I have Fedora running on pri master and xp on slave i have been able to mount windows in root and ordanary user, but the problems i am having are as follows

1 In root i can access everything, but i cant edit anything
2 in normal user i can only open the windows folder, everything in that folder is blocked.

Been trying to work with permissions, and this is what they look like

drwxrwxrwx 1 root root 4096 Jan 29 22:33 windows
[root@localhost mnt]#

Thks
 
Old 02-01-2006, 09:39 AM   #2
acidzebra
Member
 
Registered: Mar 2005
Location: Netherlands
Distribution: FC4, debian, SuSE
Posts: 64

Rep: Reputation: 15
If your XP drive uses NTFS the read-only is normal; NTFS support in the linux kernel is read-only. There are some projects which will allow you to write, but most are fairly experimental. Try googling for captive-ntfs.

as for the permissions problems, if you unmount your windows try and then go to the mount point (usually /mnt, or possibly /media) try doing
chown <username>:<usergroup> windows
where username is your normal user and usergroup is something like users or with some distributions your normal user name again. Go to your home drive and do a 'll' and you'll see how the user permissions are set up there.
 
Old 02-01-2006, 09:52 AM   #3
roxberry1
LQ Newbie
 
Registered: Jan 2006
Posts: 16

Original Poster
Rep: Reputation: 0
it has changed to this

drwxrwxrwx 1 Drew Drew 4096 Jan 29 22:33 windows
[root@localhost mnt]#

i can still only acces the windows folder, cant go any further??
 
Old 02-01-2006, 10:02 AM   #4
acidzebra
Member
 
Registered: Mar 2005
Location: Netherlands
Distribution: FC4, debian, SuSE
Posts: 64

Rep: Reputation: 15
OK how do you mount it (what exact command)?

your could try mounting it like
mount -t ntfs -o uid=500,gid=500 /dev/$DEV /mnt/$MNT
where $DEV is your HD partition with windows and $MNT is where you want to mount it.
 
Old 02-01-2006, 10:39 AM   #5
roxberry1
LQ Newbie
 
Registered: Jan 2006
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks, it worked!

Would you mind explaining "uid=500,gid=500"
 
Old 02-01-2006, 02:13 PM   #6
acidzebra
Member
 
Registered: Mar 2005
Location: Netherlands
Distribution: FC4, debian, SuSE
Posts: 64

Rep: Reputation: 15
well, I sorta guessed that your user account would be the only one on that system. When (most?) linuxes create a user account the default uid (user id) is 500 and gid (group id) would also be 500. The next user created would have uid 501 and so on.

By mounting under that uid&gid all the files will display as being owned by you.
(you can verify this by doing a 'll' command in any subdir of that mount)

Last edited by acidzebra; 02-01-2006 at 02:15 PM.
 
Old 02-01-2006, 02:44 PM   #7
roxberry1
LQ Newbie
 
Registered: Jan 2006
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks

Makes a lot more sence now!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
permissions on FAT drive Trio3b Mandriva 1 12-08-2005 04:30 PM
Hard Drive Permissions djljjm Linux - Newbie 2 04-22-2005 02:00 PM
Hard Drive Permissions djljjm Linux - Newbie 3 04-18-2005 03:35 PM
hard-drive permissions Airburned Linux - General 4 07-13-2003 12:10 PM
Drive Permissions Stephanie Linux - General 1 03-25-2002 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration