You are not logged in.

#1 2018-10-25 03:53:42

jordicg
Member
From: Mexico City
Registered: 2018-07-19
Posts: 94
Website

[Solved] Mount internal hard disk to directory for all users

I have installed correctly Arch on a SSD a 2 tb hard disk for /home, another 1 tb mounted in /backup , everything is fine except that the /backup mount of the 1 tb disk has incorrect mount options i think, i edited /etc/fstab and added this but no luck, can anybody tell me how this disk could be mounted to save all kind of data there and by all users? Heres my fstab.-

# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda1
UUID=10433356-c0c8-440a-bb7b-ccef0dc9b660       /               ext4            rw,relatime     0 1

# /dev/sdb
UUID=bea854e0-a5c6-4927-b091-d18fb459ffc1       /home           ext4            rw,relatime     0 2

# /dev/sdc
UUID=ed947326-bc60-477f-b233-a3cb444a9ff1       /backup         ext4            rw,auto,user,relatime   0 2

Here i added in /dev/sdc auto and user becouse its what i read in the wiki, but still no luck, it mounts, but cant copy or paste anything or do anything else, any help will be great.

Last edited by jordicg (2018-10-25 04:52:57)


With great power there must also come -- great responsibility!

Offline

#2 2018-10-25 03:57:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,541
Website

Re: [Solved] Mount internal hard disk to directory for all users

Why do you think it's a problem with the mount options?  What are the permissions on the directory?  Is it world-writable?

The 'user' option in fstab just allows any (non-root) user to mount the filesystem, but it's being mounted by system (which runs as root) anyways, so this option isn't doing anything for you.

Last edited by Trilby (2018-10-25 04:00:20)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2018-10-25 04:15:39

jordicg
Member
From: Mexico City
Registered: 2018-07-19
Posts: 94
Website

Re: [Solved] Mount internal hard disk to directory for all users

Umm, the permissions are of root you are right, so i just do a

chmod u=rx Backup

And thats it? in the Backup directory for example ?


With great power there must also come -- great responsibility!

Offline

#4 2018-10-25 04:52:14

jordicg
Member
From: Mexico City
Registered: 2018-07-19
Posts: 94
Website

Re: [Solved] Mount internal hard disk to directory for all users

Sorry got it all now, chmod for permissions, and chown to change users and groups, its really easy when you do it at least one time in your life, lol , thank you.


With great power there must also come -- great responsibility!

Offline

Board footer

Powered by FluxBB