You are not logged in.

#1 2016-06-19 10:46:08

bangme
Member
Registered: 2016-06-17
Posts: 28

[SOLVED] Secondary SDD only accessible by root

My secondary SDD is only usable by root.  I want it to be usable by everyone as it's only for document storage.  I've tried editing the fstab permissions, i've tried chown -R and I've tried chmod +777 and I've tried reformating via gparted and mkfs.ext4 any help would be appreciated.  At this time I do not need to save the files they're all backed up so all is fair game.

My current iteration of fstab for said drive is as follows:

#/dev/sdb1: ext4
UUID="10a24c30-488e-4888-82b9-c731781a77fd"	 /media/internal  ext4		defaults        	0 0

here is my fdisk -l output

Disk /dev/sdb: 119.2 GiB, 128035676160 bytes, 250069680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xfdaac0da

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb1            2048 233195519 233193472 111.2G 83 Linux
/dev/sdb2       233195520 250069679  16874160     8G 82 Linux swap / Solaris 

Thanks for your help!

Last edited by bangme (2016-06-19 12:00:59)

Offline

#2 2016-06-19 10:48:20

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Secondary SDD only accessible by root

What are the permissions on the /media/internal directory?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2016-06-19 11:01:05

bangme
Member
Registered: 2016-06-17
Posts: 28

Re: [SOLVED] Secondary SDD only accessible by root

slithery wrote:

What are the permissions on the /media/internal directory?

welp, that did it. It was rwx for root only on that directory so I chmod +777 /media/internal and it works just fine,  Thank you!  Any idea why it was given root only permissions?  Perhaps because I did sudo mkdir /media/internal?

Last edited by bangme (2016-06-19 11:01:28)

Offline

#4 2016-06-19 11:47:48

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] Secondary SDD only accessible by root

The permission is stored on the filesystem itself in the case of ext4


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB