LinuxQuestions.org
Review your favorite Linux distribution.
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 08-13-2004, 02:20 AM   #1
seran
Member
 
Registered: Aug 2004
Location: Bangalore
Posts: 64

Rep: Reputation: 16
How to change permissions of a mounted partition


Hello,
I am using RedHat Linux 9.0 in my system. I mounted a Windows Xp partition successfully. I added the following line in my '/etc/fstab' file.

/dev/hda1 /mnt/windows ntfs auto,users,uid=500,gid=500,umask=0077 0 0

My username is 'seran', uid = 500, gid = 500

When I boot the system this windows partition gets mounted automatically. But the problem is with the permissions. This is what I got when I executed 'ls -al /mnt/windows/'

dr-x------ 1 seran seran 16384 Aug 5 17:54 .
drwxr-xr-x 5 root root 4096 Aug 13 10:03 ..
dr-x------ 1 seran seran 12288 Jul 7 11:31 8051
-r-------- 1 seran seran 12390978 Jul 7 09:23 8051.zip
-r-------- 1 seran seran 148992 Dec 7 1999 arcldr.exe
-r-------- 1 seran seran 162816 Dec 7 1999 arcsetup.exe
-r-------- 1 seran seran 28715999 Mar 10 21:10 ArmElfInstall.exe
-r-------- 1 seran seran 263 Jul 21 17:23 .bash_history
...... .......... ....... ..........

The partition remains as 'Read Only File System'. Now how can I change the file permissions to Read and Write as I wish. Can anyone give me a suggestion. Thanks in advance.

Seran
 
Old 08-13-2004, 02:37 AM   #2
Niels@debian
LQ Newbie
 
Registered: Aug 2004
Location: Laval, FR
Distribution: Debian Sarge 2.6.9
Posts: 25

Rep: Reputation: 15
Write support on NTFS partition is experimental and is only available in 2.6.x kernels.

mmm, seems to be an error in your /etc/fstab. Remove the s from users

Your umask is wrong too. As far as I remember, you must put it like : umask=022

In third make it noauto because with auto, it's the root who mount it.
 
Old 08-13-2004, 02:43 AM   #3
Niels@debian
LQ Newbie
 
Registered: Aug 2004
Location: Laval, FR
Distribution: Debian Sarge 2.6.9
Posts: 25

Rep: Reputation: 15
Look at this post : http://www.linuxquestions.org/questi...hreadid=210878
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't change permissions for samba mounted floppy fisayo Mandriva 2 04-20-2005 05:07 AM
Can't change permissions on mounted partition OlRoy Linux - General 2 09-24-2004 03:22 AM
Can't change permissions for mounted windows partition shara Linux - Newbie 6 03-24-2004 07:31 PM
How to change permissions for Mounted Filesystem leroy27336 Linux - General 3 11-15-2003 04:08 AM
cant change permissions on a mounted windows partition groovin Linux - Newbie 10 11-02-2002 08:15 PM

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

All times are GMT -5. The time now is 02:40 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