LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-03-2004, 09:00 AM   #1
xtree
LQ Newbie
 
Registered: Feb 2004
Location: Romania
Distribution: Fedora
Posts: 15

Rep: Reputation: 0
Setting permissions for other drives


I am trying to set permissions for other drives to allow read/write/modify content on those drives (windows disks for instance). I tried doing that as root by using Konqueror > right clikck the directory where the drive is mounted (/wind/d) then tick the appropriate permissions under the 'permissions' tab. Ive tried it both with and without the "apply changes for all subdirectories.." option and its still not working. When I check that box the progress indicator shows up but i get various errors saying that some directories cant be allowed and it stops doing anything.

Any ideas?
 
Old 03-03-2004, 10:06 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
If you want to change permissions on mounted drives, the easiest way is to have a look at /etc/fstab file and at mount command and its options (for example -o umask=022).
For permissions concerning other devices... audio for example (/dev/audio); create a group (audio in our case), set permission for /dev/audio (660 for example)... and then if you want to allow a user to access /dev/audio... add him in audio group
 
Old 03-03-2004, 05:20 PM   #3
xtree
LQ Newbie
 
Registered: Feb 2004
Location: Romania
Distribution: Fedora
Posts: 15

Original Poster
Rep: Reputation: 0
Well,

To be quite honest I was expecting something easier. Whats the use for a graphical interface if it cant deal with something relatively simple like this. Im a beginner with Linux (used it for like 2 weeks) and your solution seems rather complicated to me, Not that I not appreaciate the feedback.
 
Old 03-04-2004, 06:42 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
It's much more easier than it seems There's maybe a graphical utility to do such things, but I don't know it. I prefer text mode for configuration purposes.
So If you want to allow everyone read/write/exec /mnt/windows directory and these sub-directories: edit /etc/fstab as root. Reper the line containing /mnt/windows and in the options column, add: umask=000.
If there's something you don't understand, or if you want a more precise configuration, tell... We'll explain you
 
  


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
Changing permissions on USB external drives theufman Linux - Hardware 9 11-29-2005 09:08 PM
Changing permissions on cdrom and dvd drives Telman Mandriva 23 09-10-2005 04:50 PM
Slackware 10.1 + Udev Permissions and USB Drives rignes Slackware 3 03-07-2005 09:12 PM
changing permissions on mounted drives. Moses420ca Linux - Newbie 2 07-04-2003 08:17 AM
mounting hard drives and permissions revdave Linux - Newbie 1 12-11-2002 10:14 AM


All times are GMT -5. The time now is 08:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration