Folder Ownership

Other talk about Salix
Post Reply
noob51
Posts: 58
Joined: 22. Oct 2013, 16:56

Folder Ownership

Post 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.
User avatar
knome
Donor
Posts: 163
Joined: 20. Dec 2012, 19:36
Location: UK

Re: Folder Ownership

Post by knome »

Do man chown in a Terminal to unforget how to use it.

You can use Gparted to Label a partition.
Image
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: Folder Ownership

Post 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.
noob51
Posts: 58
Joined: 22. Oct 2013, 16:56

Re: Folder Ownership

Post by noob51 »

Thank You,

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