Latest LQ Deal: Linux Power User Bundle
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 11-10-2003, 10:55 PM   #1
Registered: Sep 2003
Distribution: rh
Posts: 43

Rep: Reputation: 15
changing access to mounted shared drive

i have a mounted "shared" drive which i've called 'shared' but it doesn't have write access for a normal user, only root..

so i've added the user "me" to group root (this still doesn't give "me" access to everything) firstly is this a stupid thing to do?

secondly, i've tried using chmod the /mnt/share directory, but it doesn't work, how could i change access to this directory (its loaded automatically on startup)
Old 11-10-2003, 11:55 PM   #2
R. X. Rolaveric
LQ Newbie
Registered: Nov 2003
Posts: 6

Rep: Reputation: 0
By a shared folder, are you reffering to a Samba share? i.e. Windows file sharing

If your using Samba, you'll have to alter the server settings to allow regular users to have write access.
The server allocates what directories are shared, whether users have write access, and even has it's own list of Samba users who have rights to the shared folders.
You should be able to find all of this in /etc/samba/smb.conf
Old 11-11-2003, 12:52 AM   #3
Registered: Oct 2003
Posts: 43

Rep: Reputation: 15
no, i guess what u mean is using the same drive for diff user in one box

just edit /etc/fstab, edit this line

/dev/hd?? /mnt/??? filesys rw,suid,dev,exec,auto,uid=501,gid=501,umask=002,async 0 0

with uid is your user id wants to able to access that drive
i presume that you understand what i meant with hd??, /mnt/??? and filesys

that should help
Old 11-11-2003, 01:52 AM   #4
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
x4n0bi: i've got the same problem as shycalais. I understand the /dev/hd?? stuff, but how do you find out what your uid number is (and gid)?
Old 11-11-2003, 05:13 AM   #5
Registered: Oct 2003
Posts: 43

Rep: Reputation: 15
u can simply check in system settings>users and groups

i'm using kde, i forget the command line for that


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
Can't access mounted NTFS drive Nychold Linux - Hardware 1 06-12-2004 03:45 AM
write access to mounted drive woja Linux - Newbie 3 11-05-2003 03:24 AM
fat32 drive shared, cant access tru rh9 summonerdjinn Linux - Networking 5 11-02-2003 05:42 PM
Chaning Access Privlages of Mounted Drive gendreau Linux - Newbie 1 10-24-2003 01:19 PM
External Drive Mounted, Can't access as a user thewaker Linux - Hardware 4 08-14-2003 04:26 PM > Forums > Linux Forums > Linux - Newbie

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