LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-06-2002, 12:44 AM   #1
MrPolite
Member
 
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109

Rep: Reputation: 15
cant change permissions on my win partition


I searched the forum a bit and I dont really know how to change the permissions. I've mounted my winxp partition and I can only access it as root. I want to be able to access it as a regular user. I messed around a little bit with chmod, but it didnt work. anyone can help me?
 
Old 11-06-2002, 12:49 AM   #2
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
If you don't wanna mess around with it using console, right click on the mounted drive and go to permissions, then just set the permissions as how you want them.....

That should work, i think there is a way of doing it in fstab but i'm not sure...

Hope this helps!

#Garry
 
Old 11-06-2002, 01:03 AM   #3
MrPolite
Member
 
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109

Original Poster
Rep: Reputation: 15
the permissions section is disabled, because I'm not logged in as root

aah I just want my winxp partition to be automatically mounted with the correct permissions at boot
 
Old 11-06-2002, 01:07 AM   #4
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
Open up a console....type 'su' enter your root password, cd to the mnt directory and try this 'chmod 777 /folder' should be something like that..

Run into any problems post back...

#Garry
 
Old 11-06-2002, 01:09 AM   #5
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
Oh and go to /etc and open up fstab and posts it's contents... cause maybe i can change it there...

#Garry
 
Old 11-06-2002, 01:28 AM   #6
MrPolite
Member
 
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109

Original Poster
Rep: Reputation: 15
well before I posted this I searched and I tried chmod 777 and it said that it's setting it to readonly, but still cant browse it. Here;s my fstab:

LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0



 
Old 11-06-2002, 01:31 AM   #7
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
Wheres your windows mount?

Is XP NTFS or vfat?

#Garry

Are you sure you even have it mounted
 
Old 11-06-2002, 01:35 AM   #8
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
Ok i think i'm onto something....open up Mandrake Control Center or in command type 'drakconf' go the the mount points section then click on your windows partition.....is it mounted? If it's not mount it....

Then at the bottom there is a button called 'more' click on that, then on the left there should be these options 'Options, Unmount (if its mounted) and loopback' click on options, then find 'user' tick that then click ok...

Now see if you can access it...

#Garry

Oh you have to be root to change those options!
 
Old 11-06-2002, 05:25 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
1) make sure that the dir you are mounting it to has correct permissions *before* you mount the drive there.

2) set umask=000 in your options when you mount that partition.
 
Old 11-06-2002, 01:23 PM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
Originally posted by MrPolite
the permissions section is disabled, because I'm not logged in as root

aah I just want my winxp partition to be automatically mounted with the correct permissions at boot
Open up your fstab, since you don't have an entry already for your XP drive, here's an example (taking Chris's explaination a bit further, he already gave you the answer though )

/dev/hdx /mnt/winxp users,auto,ro,umask=000 0 0

Replacing the hdx with the correct letter/number and making sure that /mnt/winxp is an actual directory to mount to.

The "auto" will make it auto mount at boot up. The "umask=000" sets the permissions for everyone to do anything to it, ro furthers that to read-only, and users makes all your users be able to mount and umount the drive as needed.

Cool
 
Old 11-07-2002, 12:32 AM   #11
MrPolite
Member
 
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109

Original Poster
Rep: Reputation: 15
hmm at boot it said: fs type umask 000 not supported by the kernel
 
Old 11-07-2002, 12:39 AM   #12
MrPolite
Member
 
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109

Original Poster
Rep: Reputation: 15
alright, I added a ntfs thing before it and it worked
/dev/hda1 /mnt/winxp ntfs users,auto,ro,umask=000 0 0


thank you all!
 
Old 11-07-2002, 12:54 AM   #13
MrPolite
Member
 
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109

Original Poster
Rep: Reputation: 15
errr it says readonly filesystem though is there away I can write to it?
 
Old 11-07-2002, 01:23 AM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
only if you want to destroy your data. don't.
 
Old 11-07-2002, 01:32 AM   #15
newpenguin
Member
 
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219

Rep: Reputation: 30
default kernels (installed with distributions) have ntfs read-only support and if you want to mount ntfs as read-write for this you have to compile kernel.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't change permissions of Windows partition Dimension User Fedora 5 06-05-2005 02:17 PM
Can't change permissions on mounted partition OlRoy Linux - General 2 09-24-2004 02:22 AM
How to change permissions of a mounted partition seran Linux - General 2 08-13-2004 01:43 AM
How do I change permissions for my windows partition? cereal83 Slackware 9 07-15-2004 02:06 PM
Windows partition - cannot change permissions elitecodex Linux - Newbie 1 02-02-2004 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:52 AM.

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