Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Partition Access

Started by The Black Pig, May 03, 2014, 12:12:24 AM

Previous topic - Next topic

The Black Pig

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' ?

pavroo

#1
Show me your /etc/fstab file.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

paxmark1

#2
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?.



Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.

The Black Pig

#3

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

The Black Pig

#4

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)

pavroo

#5
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

Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

The Black Pig

#6
Problem solved- Did not think to look at folder permissions   :o

Created a new folder and transferred contents  :D

View the most recent posts on the forum