[ubuntu-uk] Changing File/Folder permissions

mac ammonius.grammaticus at gmx.co.uk
Tue Apr 28 12:34:04 BST 2009


Neil Greenwood wrote:
> Thanks mac.
> 
> I was trying to avoid having to run a command every time I plug the
> drive in though.


I don't have to run it every time.  Once assigned to the labelled drive, 
the permissions are persistent.  I'm looking at one of mine now, that I 
just plugged in.  It has mounted as if owned by the logged-in user on 
this machine.  (That's why I think you do have to 'sudo chown -R' the 
drive to the current user - and it will then be owned by $USER).  The 
folder permissions are 755;  files look to be 644, unless otherwise 
specified.

(It's very useful to give the drive a label, so that it's always 
referred to by the same name, and you aren't messing about with 
different /dev names.)

Mine (several of them) just plug in and work, irrespective of who's the 
logged-in user.

HTH

Mac





More information about the ubuntu-uk mailing list