Page 1 of 1

Folder Ownership

Posted: 15. Apr 2014, 22:46
by noob51
Hello again,

How do I change the ownership of a folder on an external hard drive. I forgot how to use the chown command, Can I rename the drive to something shorter than the long sequence of letters & Numbers. I know I'm lazy.

Thanks.

Re: Folder Ownership

Posted: 15. Apr 2014, 23:33
by knome
Do man chown in a Terminal to unforget how to use it.

You can use Gparted to Label a partition.

Re: Folder Ownership

Posted: 15. Apr 2014, 23:46
by westms
noob51 wrote:How do I change the ownership of a folder on an external hard drive.

I forgot how to use the chown command,
After mounting:

Code: Select all

chown username:groupname file
Can I rename the drive to something shorter than the long sequence of letters & Numbers. I know I'm lazy.
You may give a volume name to the partition. If the filesystem is ext2, ext3 or ext4, with command:

Code: Select all

e2label /dev/<partition-name> volume-name
or with

Code: Select all

tune2fs -L volume-name /dev/<partition-name>
The volume name can be used by the mount command.

Re: Folder Ownership

Posted: 16. Apr 2014, 14:39
by noob51
Thank You,

Took a while to relearn chown, used gparted to lable external, never had a label only a UUID.