[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Permissions on USB drive unchangeable



On Fri, Dec 11, 2009 at 01:28:55PM +0000, AG wrote:
> worked fine.  Now the permissions have been changed so that I only
> have access to the drive but am unable to write to it.  Therefore, I
> cannot do back ups nor can I create new directories, etc.
> 
> I have tried the usual approach to these kinds of issues, i.e. sudo
> chmod -R 0755 /path/to/drive but this has absolutely no effect.  I
> am identified as the owner of the drive and as part of the group,
> but I cannot change the permissions of this either as root directly
> nor using sudo.
> 
> Any thoughts on how I can fix this?
> 
> Thanks
> 
> AG
> 

I am a little unclear on your fix, "chmod -R" specifically. You shouldn't
have to set permissions recursively or to the drive itself.

Assuming you are the same user who has been mounting it all along and

assuming the drive is sda1:

 # pmount /dev/sda1

That should get you a directory with the name of the label of the drive or,
if no label, "sda1," with permissions set correctly in /media .


Then you can link it for convenience of location and and name if you like.

 $ ln -s /media/label_name_or_sda1 /home/user/new_name

If you are in Gnome or KDE, I believe nautilus or Konqueror should be
mounting it automatically.


Reply to: