SparkyLinux Forums

General => General discussion => Topic started by: The Black Pig on May 03, 2014, 12:12:24 AM

Title: Partition Access
Post by: The Black Pig on May 03, 2014, 12:12:24 AM
My hard drive is partitioned  /    ,     home - and a partition  for 'storage'.

The storage area is only available to 'root' , how can I change it so I have access as 'john' ?
Title: Re: Partition Access
Post by: pavroo on May 03, 2014, 01:11:43 AM
Show me your /etc/fstab file.
Title: Re: Partition Access
Post by: paxmark1 on May 03, 2014, 07:37:08 AM
as root

chown -R   john       /storage



or



sudo chown -R john  /storage



but yes, show /etc/fstab   Is your /storage set up that way to be accessed by a BSD or Windows OS?  Is /storage for backups?.



Title: Re: Partition Access
Post by: The Black Pig on May 03, 2014, 10:18:29 AM

Quote:

Quote from pavroo on May 3, 2014, 01:11

Show me your /etc/fstab file.




Don't know whether it is relevant but My folder is named fstab.d and the file  -  aufs / aufs rw 0 0

tmpfs /tmp tmpfs nosuid,nodev 0 0



which of course means nothing to Me.  :D  :D
Title: Re: Partition Access
Post by: The Black Pig on May 03, 2014, 10:29:53 AM

Quote:

Quote from paxmark1 on May 3, 2014, 07:37

as root

chown -R   john       /storage



or



sudo chown -R john  /storage



but yes, show /etc/fstab   Is your /storage set up that way to be accessed by a BSD or Windows OS?  Is /storage for backups?.





I like to test all the versions of Sparky but I did it once and the system was unusable I had to use My backup (an external HD)

so when prior to re-installation  I partitioned My hard drive  root/home/ ?  (I have just noticed that when I mount it the label is it is media 263dd24a-60fc-4f3c-a4e5-0d536371b20b)
Title: Re: Partition Access
Post by: pavroo on May 03, 2014, 01:52:03 PM
Show me the file called 'fstab' - it is located in '/etc' directory under all folders. /etc/fstab.d is a folder.

Show me results of two commands as root:

blkid

fdisk -l

Title: Re: Partition Access
Post by: The Black Pig on May 04, 2014, 04:58:31 PM
Problem solved- Did not think to look at folder permissions   :o

Created a new folder and transferred contents  :D