LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-04-2004, 08:47 AM   #1
scng
Member
 
Registered: Sep 2004
Location: Hong Kong
Distribution: Fedora Core 3
Posts: 53

Rep: Reputation: 15
mounting problem


I have a problem on how to let users (other than root) to delete files in a mounted device.
The system only permits root to mount. It is no doubt that mounted device belongs to "root". Permission is automatically set as: drwxr-xr-x. As a result other users can read/copy files inside the mounted volume at most, delete/rename/move are denied. Buddies pls help. Thnx!
 
Old 09-04-2004, 09:43 AM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
you could alter the permissions in /etc/fstab to allow users to mount disks or set special permissions, for a windows partition this is what I have set

Code:
/dev/hdb1 /mnt/mydocs vfat rw,user,noauto 0 0
This allows users to mount the disk, so they get write permissions. ( change /dev and /mnt to whatever you have ).

You can also set guid and others ( see man fstab ).
 
Old 09-04-2004, 09:48 AM   #3
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
"The system only permits root to mount."

if a device is not mentioned in /etc/fstab then this is standard behaviour and cannot be changed - only devices mentioned there are - depending on the options there - mountable/readable/writable by other users.

are you the admin of this system - then you can add the device in question add to /etc/fstab - with less restrictive permissions - or the admin (root) could mount the device with less restrictive permissions...
 
Old 09-04-2004, 10:36 AM   #4
scng
Member
 
Registered: Sep 2004
Location: Hong Kong
Distribution: Fedora Core 3
Posts: 53

Original Poster
Rep: Reputation: 15
thank you, it's done
 
  


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
Re: mounting cd problem paul70 Linux - General 2 08-09-2005 01:35 AM
Mounting problem Radius Linux - Newbie 1 04-27-2004 04:28 PM
Mounting Problem prompt Linux - Hardware 12 10-13-2003 12:56 AM
mounting problem ziggie216 Linux - Software 6 10-11-2003 01:23 AM
problem with mounting huno Linux - General 1 07-30-2002 05:59 PM


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