[ubuntu-uk] Changing File/Folder permissions

Neil Greenwood neil.greenwood.lug at gmail.com
Wed Apr 29 21:54:39 BST 2009


2009/4/28 mac <ammonius.grammaticus at gmx.co.uk>:
> 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.

Ah! Maybe I should have tried it, rather than just expecting it to
fail next time I plugged it in.

Thanks for the feedback. I'll give it a go when I've finished upgrading...

> (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.)

I already do this, at least with most of my removable drives.

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

Cofion,
Neil.



More information about the ubuntu-uk mailing list