View previous topic :: View next topic |
Author |
Message |
N!cer n00b
Joined: 20 Mar 2006 Posts: 41
|
Posted: Tue Mar 28, 2006 8:31 pm Post subject: problem : Permission denied when mounted |
|
|
hiiiiiiiii
how are u all
i have problem
i added user , it Permission =
ge3k@localhost ~ $ id
uid=1000(ge3k) gid=100(users) groups=10(wheel),18(audio),27(video),35(games),100(users)
ok.i login by root , then when mount usb drive = ( /dev/sda1) . i use ROX file manger . it's tell me :
Permission denied
why
until without mounted , example to login /usr or / form ROX its tell me Permission denied , also when i wnat change icon any program i dont change ,caz i dont login to /usr/sahre/icons it tell me Permission denied ?
helpme |
|
Back to top |
|
|
ectospasm l33t
Joined: 19 Feb 2003 Posts: 711 Location: Mobile, AL, USA
|
|
Back to top |
|
|
BlackSash n00b
Joined: 13 Nov 2004 Posts: 17 Location: The Netherlands
|
Posted: Tue Mar 28, 2006 8:54 pm Post subject: Re: problem : Permission denied when mounted |
|
|
If I read your post correctly, you su to root, then mount the drive right? That will mount it with root permissions, which you, as a normal user, rightly cannot access.
What you should do is as follows:
su to root again: then add the following line to /etc/fstab
Code: |
/dev/sda1 /mnt/[diskname] [fstype] user,rw[,...] 0 0
|
in the above line, replace [diskname] with the name of the directory it's to be mounted on; [fstype] with the type of filesystem that the device is formatted with, and [,...] with any special mount options you may want to set. This part is optional and can be omitted.
The important bit in the above line is user, this ensures that you, as a normal user, can mount and unmount the drive.
After that, do make sure that the permissions when mounted are okay. _________________ I hate ATI cards! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|