Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Changing Drive Permission
post Feb 23 2004, 01:39 PM
Post #1

Its GNU/

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828

I need help in changing the permission on a couple different drives. I have two USB keys that I use to move files around. I can write to them just fine, but I can't un-mount them. So far I have just been pulling them out and pluging them in and letting Mandrake auot-mount them. But every now and than files are getting screwed up or I can't get it to auto mount again after I pull it out. I think actually un-mounting it before I pull it out would help. I tried to change the permission on them from Root but it didn't seem to work. What do I need to change in order to let me unmount these things.


--Jim Lester

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
+Quote Post
post Feb 23 2004, 06:59 PM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

before you unmount them you need to make sure nothing is using them ... including any shell you are in.

use the command:

fuser -m /dev/xxxx
(replace xxxx with the device name)

You should get an output of anything using that device (if you don't know the device name, you can use the command mount to find it).

Once you issue the fuser command, it will give you back a process ID (PID) ... and you can use the command:

ps -ef | grep PID

if you can't get rid of the program any other way,use the command:

kill PID

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 24th June 2018 - 12:41 AM