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 |
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.
|
 |
|
11-06-2002, 01:44 AM
|
#1
|
Member
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109
Rep:
|
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? 
|
|
|
11-06-2002, 01:49 AM
|
#2
|
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Rep:
|
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 
|
|
|
11-06-2002, 02:03 AM
|
#3
|
Member
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109
Original Poster
Rep:
|
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 
|
|
|
11-06-2002, 02:07 AM
|
#4
|
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Rep:
|
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 
|
|
|
11-06-2002, 02:09 AM
|
#5
|
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Rep:
|
Oh and go to /etc and open up fstab and posts it's contents... cause maybe i can change it there...
#Garry 
|
|
|
11-06-2002, 02:28 AM
|
#6
|
Member
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109
Original Poster
Rep:
|
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

|
|
|
11-06-2002, 02:31 AM
|
#7
|
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Rep:
|
Wheres your windows mount?
Is XP NTFS or vfat?
#Garry
Are you sure you even have it mounted 
|
|
|
11-06-2002, 02:35 AM
|
#8
|
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Rep:
|
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!
|
|
|
11-06-2002, 06:25 AM
|
#9
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
11-06-2002, 02:23 PM
|
#10
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
11-07-2002, 01:32 AM
|
#11
|
Member
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109
Original Poster
Rep:
|
hmm at boot it said: fs type umask 000 not supported by the kernel 
|
|
|
11-07-2002, 01:39 AM
|
#12
|
Member
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109
Original Poster
Rep:
|
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!
|
|
|
11-07-2002, 01:54 AM
|
#13
|
Member
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109
Original Poster
Rep:
|
errr it says readonly filesystem though  is there away I can write to it?
|
|
|
11-07-2002, 02:23 AM
|
#14
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
only if you want to destroy your data. don't.
|
|
|
11-07-2002, 02:32 AM
|
#15
|
Member
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:08 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.
|
Latest Threads
LQ News
|
|