Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-21-2007, 11:13 AM   #1
LQ Newbie
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
Restrictive permissoins on partitions of hda and hdb

I am using Mandriva 2007. I have 2 HD with multiple partitions. I am also using a usb external drive. On the external drive and the fat drive only root has the read permission others are forbidden. On the other drives root has rw and others have r permissions. I want to change this so that a normal user has rw permission to these drives and the external drive.

thanks for your help.

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hdb5 / ext3 defaults 1 1
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0
/dev/hda1 /mnt/win_c ntfs umask=0,nls=iso8859-15,ro 0 0
/dev/hdb2 /mnt/win_d ntfs umask=0,nls=iso8859-15,ro 0 0
/dev/hdb3 /mnt/win_e ntfs umask=0,nls=iso8859-15,ro 0 0
/dev/hdb4 /mnt/win_f vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hdb6 swap swap defaults 0 0
Old 04-21-2007, 03:08 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,289

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
The FAT and NTFS filesystems don't support Unix-style permissions (DOS had no conception of file permissions and NTFS uses a different scheme used by Windows NT based systems). Therefore, Linux kludges the file permissions on these f ile systems, assigning files a fixed UID, GID, and permissions. This can be changed at filesystem mount time by adding the uid, gid, and umask in the options in fstab. See "man mount" for more information.


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
copy hda to hdb onyxbird Slackware 14 12-30-2006 04:04 PM
rename 'hda' to 'hdb' debugdotcom Linux - Hardware 3 12-18-2006 09:02 AM
fc 4 on hda, and new fc5 on hdb tonypm Fedora 4 09-21-2006 06:34 AM
Can I swap hda and hdb? snatale1 Linux - Hardware 1 03-10-2004 02:23 AM
moving the HD from hdb to hda NGraphiX Linux - General 2 10-07-2002 05:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:21 PM.

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