No permission for internal Hard Drive

Asked by clombard

Installed 14.04 and then installed my previous internal Hard Drive.
Now I get an error message I do not have permission to open certain file (pdfs).
Some open others say no root permission.
This is a dual boot and it seems I do not have root permission to open all files.
The drive is seen in Linux and not at all in Windows (which is fine)
but I can not acess al files on his drive in Linux.
How can I make the internal drive and all of its file accessable..?
thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Are the PDFs stored on an NTFS partition?

What is the output of:

sudo fdisk -l; lsb_release -a; u name -a; mount

Thanks

Revision history for this message
clombard (clombard44) said :
#2

Output of

sudo fdisk -l; lsb_release -a; u name -a; mount

[sudo] password for administrator:

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util
fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
/dev/sda1 1 1953525167 976762583+ ee GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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
Disk identifier: 0xe37de1cd

    Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 197091786 98544869+ 7 HPFS/NTFS/exFAT
/dev/sdb2 197093374 488396799 145651713 5 Extended
/dev/sdb5 455002112 488396799 16697344 82 Linux swap / Solaris
/dev/sdb6 197093376 455002111 128954368 83 Linux

Partition table entries are not in disk order
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
u: command not found
/dev/sdb6 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs
(rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup
(rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse
(rw,nosuid,nodev,user=administrator)
administrator@administrator-Galago-UltraPro:~$

The hard disk was ok with Ubuntu. I then removed it from the laptop (so
as not to corrupt it) and loaded
windows and re-installed ubuntu on the ssd. Would re-installing Ubuntu
give user back permission?
thanks

On 01/02/2016 12:27 AM, actionparsnip wrote:
> sudo fdisk -l; lsb_release -a; u name -a; mount

Revision history for this message
clombard (clombard44) said :
#3

Whatever I plug into the laptop...usb stick, sd card or external hard drive always shows up as belonging to root.
can not do a thing at this point.
.

Revision history for this message
clombard (clombard44) said :
#4

Will a new install correct the problem?

Revision history for this message
clombard (clombard44) said :
#5

Properties of extra hard drive with just my files No system files.
I need to change to me...NOT Root.
Thank you.

On 01/02/2016 05:22 PM, clombard wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> clombard posted a new comment:
> Will a new install correct the problem?
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

/dev/sdb6 is the partition with the Linux system (mounted as / ).

What is the other partition where you want to access files but cannot?

Please provide also the output of

uname -a
sudo lsblk

Revision history for this message
clombard (clombard44) said :
#7

Hello... Good morning

This is a laptop with an internal 250GB SolidStateDrive (/dev/sdb1) and
a 2.5" internal
"extra drive 1" 1T hard drive (/dev/sda1)
Windows 7 Pro and Ubuntu 14.04 are installed on the 250GB ssd. They both
work fine.
The 1T (which only has my files-no system files) suddenly (after the
dual boot process it seems)
belongs to "Root". I *can* access all my files however when I try to
open a pdf file
it says "no permission". Under properties it says I am not the owner.
Also now when I plug in any usb device it seems to belong to "Root".
Very annoying.

*My question: How can I change root permission on the "extra drive 1"?*

*Since the 1T drive is backed up would it be easier to wipe it and
re-install Ubuntu 14.04*

*Will that correct the permission problem...?
*

Thank you for your help.

Here is the output you requested:
administrator@administrator-Galago-UltraPro:~$ uname -a
Linux administrator-Galago-UltraPro 3.16.0-57-generic #77~14.04.1-Ubuntu
SMP Thu Dec 17 23:20:00 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
administrator@administrator-Galago-UltraPro:~$

administrator@administrator-Galago-UltraPro:~$ sudo lsblk
[sudo] password for administrator:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
└─sda1 8:1 0 931.5G 0 part
sdb 8:16 0 232.9G 0 disk
├─sdb1 8:17 0 94G 0 part
├─sdb2 8:18 0 1K 0 part
├─sdb5 8:21 0 15.9G 0 part [SWAP]
└─sdb6 8:22 0 123G 0 part /
administrator@administrator-Galago-UltraPro:~$

On 01/03/2016 05:08 AM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> /dev/sdb6 is the partition with the Linux system (mounted as / ).
>
> What is the other partition where you want to access files but cannot?
>
> Please provide also the output of
>
> uname -a
> sudo lsblk
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

what command do you use to mount the second hard disk?
Do you have an entry for it in the /etc/fstab file?

Revision history for this message
clombard (clombard44) said :
#9

The second hard disk shows up in Nautilus and I just use it from there...
screen shot

On 01/03/2016 11:56 AM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> what command do you use to mount the second hard disk?
> Do you have an entry for it in the /etc/fstab file?
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

Adding attachments does not work for Launchpad questions.

Is it formatted as NTSF?

What is the output of
sudo blkid

You might try creating an fstab entry for automatic mounting as shown in https://help.ubuntu.com/community/MountingWindowsPartitions

Revision history for this message
clombard (clombard44) said :
#11

administrator@administrator-Galago-UltraPro:~$ sudo blkid
[sudo] password for administrator:
/dev/sda1: LABEL="Extra Drive 1"
UUID="01dfa797-9957-441a-878c-4ff41aff4d31" TYPE="ext4"
/dev/sdb1: LABEL="Local" UUID="8E7647A9764790BF" TYPE="ntfs"
/dev/sdb5: UUID="2b340ede-2763-44de-bed8-94efad051eb9" TYPE="swap"
/dev/sdb6: UUID="6289d9fe-2952-433d-b844-865c9b34c24e" TYPE="ext4"
administrator@administrator-Galago-UltraPro:~$

On 01/03/2016 12:37 PM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Adding attachments does not work for Launchpad questions.
>
> Is it formatted as NTSF?
>
> What is the output of
> sudo blkid
>
> You might try creating an fstab entry for automatic mounting as shown in
> https://help.ubuntu.com/community/MountingWindowsPartitions
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

Ok, it is not ntfs-formatted, but ext4. So the instructions for mounting a Windows partition are not applicable here.

What is the output of
whoami

and what is the ownership information on one of the pdf files that you want to open (and can't)?

Revision history for this message
clombard (clombard44) said :
#13

administrator@administrator-Galago-UltraPro:~$ sudo whoami
[sudo] password for administrator:
root
administrator@administrator-Galago-UltraPro:~$

On 01/03/2016 12:57 PM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Ok, it is not ntfs-formatted, but ext4. So the instructions for mounting
> a Windows partition are not applicable here.
>
> What is the output of
> whoami
>
> and what is the ownership information on one of the pdf files that you
> want to open (and can't)?
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#14

Not
sudo whoami
but just plain

whoami

and also the output of

id

please. And the access control settings of one of the files please.

Revision history for this message
clombard (clombard44) said :
#15

administrator@administrator-Galago-UltraPro:~$ whoami
administrator
administrator@administrator-Galago-UltraPro:~$

administrator@administrator-Galago-UltraPro:~$ id
uid=1000(administrator) gid=1000(administrator)
groups=1000(administrator),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),108(lpadmin),124(sambashare)
administrator@administrator-Galago-UltraPro:~$

access control settings?

On 01/03/2016 01:12 PM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Not
> sudo whoami
> but just plain
>
> whoami
>
> and also the output of
>
> id
>
> please. And the access control settings of one of the files please.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#16

If you start nautilus, access the extra hard disk and right click on one of the pdf files that you cannot open as desired, what to you see as file owner, group, etc.?

Revision history for this message
clombard (clombard44) said :
#17

Owner Me. Group Administrator
read write.(pic attached)
But it doesn't open.(pic attached).
When I right click on the extra drive it belongs to root for some
reason(pic attached).
However the properties of "home" is me. Extra used to be the same?

On 01/03/2016 01:27 PM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> If you start nautilus, access the extra hard disk and right click on one
> of the pdf files that you cannot open as desired, what to you see as
> file owner, group, etc.?
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#18

As already written above: It does not help if you try attaching screenshots to your e-mail. They are discarded by the Launchpad system, and we cannot see them.

You have either to use copy/paste of the text on screen, or you can upload an image to some image hosting service and past the link to that picture in your message.

Maybe the output of the command

ls -la /mnt/*

helps us understanding the details of your access rights settings.

Revision history for this message
clombard (clombard44) said :
#19

administrator@administrator-Galago-UltraPro:~$ ls -la /mnt/
total 8
drwxr-xr-x 2 root root 4096 Apr 10 2014 .
drwxr-xr-x 23 root root 4096 Jan 3 11:13 ..
administrator@administrator-Galago-UltraPro:~$

Were you able to view the attached pics...?

On 01/03/2016 02:12 PM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> As already written above: It does not help if you try attaching
> screenshots to your e-mail. They are discarded by the Launchpad system,
> and we cannot see them.
>
> You have either to use copy/paste of the text on screen, or you can
> upload an image to some image hosting service and past the link to that
> picture in your message.
>
> Maybe the output of the command
>
> ls -la /mnt/*
>
> helps us understanding the details of your access rights settings.
>

Revision history for this message
clombard (clombard44) said :
#20

On 01/03/2016 02:12 PM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> As already written above: It does not help if you try attaching
> screenshots to your e-mail. They are discarded by the Launchpad system,
> and we cannot see them.
>
> You have either to use copy/paste of the text on screen, or you can
> upload an image to some image hosting service and past the link to that
> picture in your message.
>
> Maybe the output of the command
>
> ls -la /mnt/*
>
> helps us understanding the details of your access rights settings.
>

Revision history for this message
clombard (clombard44) said :
#21

On 01/03/2016 02:12 PM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> As already written above: It does not help if you try attaching
> screenshots to your e-mail. They are discarded by the Launchpad system,
> and we cannot see them.
>
> You have either to use copy/paste of the text on screen, or you can
> upload an image to some image hosting service and past the link to that
> picture in your message.
>
> Maybe the output of the command
>
> ls -la /mnt/*
>
> helps us understanding the details of your access rights settings.
>

Revision history for this message
clombard (clombard44) said :
#22

link to screen shots:
shot 1 = permission of file I can not open;
shot 2= permissio of the extra drive root(I want to change);
shot 3 = permission of Home drive (extra dive should be the same);
shot 4 = result of trying to open file (if I move it to "Home" it opens
but not in extra drive)
https://www.dropbox.com/sh/8kbgrppa52kmqwd/AAC_EkygvAdni4cesLUr9tpPa?dl=0

On 01/03/2016 02:37 PM, clombard wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> You gave more information on the question:
>
> On 01/03/2016 02:12 PM, Manfred Hampl wrote:
>> Your question #280374 on Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+question/280374
>>
>> Status: Open => Needs information
>>
>> Manfred Hampl requested more information:
>> As already written above: It does not help if you try attaching
>> screenshots to your e-mail. They are discarded by the Launchpad system,
>> and we cannot see them.
>>
>> You have either to use copy/paste of the text on screen, or you can
>> upload an image to some image hosting service and past the link to that
>> picture in your message.
>>
>> Maybe the output of the command
>>
>> ls -la /mnt/*
>>
>> helps us understanding the details of your access rights settings.
>>

Revision history for this message
Manfred Hampl (m-hampl) said :
#23

Uploading to dropbox went well, I could see the screenshots.

What is the output of the terminal commands

ls -la /media/administrator/Extra\ Drive\ 1/
ls -lan /media/administrator/Extra\ Drive\ 1/

Revision history for this message
clombard (clombard44) said :
#24

administrator@administrator-Galago-UltraPro:~$ ls -la
/media/administrator/Extra\ Drive\ 1/
total 148
drwxrwxrwx 6 root root 4096 Jan 3 13:02 .
drwxr-x---+ 3 root root 4096 Jan 3 11:49 ..
drwxrwxrwx 80 administrator administrator 4096 Jan 2 18:17 Documents
drwx------ 23 administrator administrator 4096 Jan 1 15:51 Dropbox
drwx------ 2 root root 16384 Jun 11 2015 lost+found
-rwxrwxr-x 1 administrator administrator 111519 Jun 5 2015 Quote
drwx------ 5 administrator administrator 4096 Nov 18 21:14 .Trash-1000
administrator@administrator-Galago-UltraPro:~$

administrator@administrator-Galago-UltraPro:~$ ls -lan
/media/administrator/Extra\ Drive\ 1/
total 148
drwxrwxrwx 6 0 0 4096 Jan 3 13:02 .
drwxr-x---+ 3 0 0 4096 Jan 3 11:49 ..
drwxrwxrwx 80 1000 1000 4096 Jan 2 18:17 Documents
drwx------ 23 1000 1000 4096 Jan 1 15:51 Dropbox
drwx------ 2 0 0 16384 Jun 11 2015 lost+found
-rwxrwxr-x 1 1000 1000 111519 Jun 5 2015 Quote
drwx------ 5 1000 1000 4096 Nov 18 21:14 .Trash-1000
administrator@administrator-Galago-UltraPro:~$

thanks

On 01/03/2016 03:07 PM, Manfred Hampl wrote:
> ls -la /media/administrator/Extra\ Drive\ 1/

Revision history for this message
Manfred Hampl (m-hampl) said :
#25

If you now try

head -c 50 /media/administrator/Extra\ Drive\ 1/Quote

what do you get?

Revision history for this message
clombard (clombard44) said :
#26

administrator@administrator-Galago-UltraPro:~$ head -c 50
/media/administrator/Extra\ Drive\ 1/Quote
%PDF-1.5
%���
3 0 obj
<< /Length 4 0 R
    /Filteradministrator@administrator-Galago-UltraPro:~$
administrator@administrator-Galago-UltraPro:~$

On 01/03/2016 03:46 PM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> If you now try
>
> head -c 50 /media/administrator/Extra\ Drive\ 1/Quote
>
> what do you get?
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#27

Apparently you can open the pdf file that gave the error message in the screen shot.
Sorry, but I have no idea why you got that error with document viewer.

If you re-try opening it from within nautilus, do you still receive that error message?

Revision history for this message
clombard (clombard44) said :
#28

I can open it in "home" but get the error message when I try to open it
in "extra drive"

Should the permissions be the same in both Home and extra drive...?

Why is Extra Drive now owned by Root...?

Would a re-install of Ubuntu correct this...?

On 01/03/2016 04:02 PM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Apparently you can open the pdf file that gave the error message in the screen shot.
> Sorry, but I have no idea why you got that error with document viewer.
>
> If you re-try opening it from within nautilus, do you still receive that
> error message?
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#29

Sorry, but what you see is contradictory.
With the head command you were able to open the file, but with document viewer you can't?
Sorry, but this is beyond my understanding.

For the ownership of the device:

What is the output of the commands

ls -ld /media/
ls -ld /media/administrator/
ls -ld /media/administrator/Extra\ Drive\ 1/
ls -l /media/administrator/Extra\ Drive\ 1/Quote

I do not expect that a reinstallation of Ubuntu will change anything with your problem.

Revision history for this message
clombard (clombard44) said :
#30

ok... I'll send that output when I get home. Meanwhile IF I WIPE the extra driveclean and reinstall Ubuntu will this annoying root permission go away in that drive...?thanks for all your help.

Sent from my Verizon Wireless 4G LTE smartphone

-------- Original message --------
From: Manfred Hampl <email address hidden>
Date: 01/04/2016 2:47 AM (GMT-06:00)
To: <email address hidden>
Subject: Re: [Question #280374]: No permission for internal Hard Drive

Your question #280374 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/280374

    Status: Open => Needs information

Manfred Hampl requested more information:
Sorry, but what you see is contradictory.
With the head command you were able to open the file, but with document viewer you can't?
Sorry, but this is beyond my understanding.

For the ownership of the device:

What is the output of the commands

ls -ld /media/
ls -ld /media/administrator/
ls -ld /media/administrator/Extra\ Drive\ 1/
ls -l /media/administrator/Extra\ Drive\ 1/Quote

I do not expect that a reinstallation of Ubuntu will change anything
with your problem.

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/280374

You received this question notification because you asked the question.

Revision history for this message
clombard (clombard44) said :
#31

administrator@administrator-Galago-UltraPro:~$ ls -ld /media/
drwxr-xr-x 3 root root 4096 Dec 29 19:52 /media/
administrator@administrator-Galago-UltraPro:~$

administrator@administrator-Galago-UltraPro:~$ ls -ld /media/administrator/
drwxr-x---+ 2 root root 4096 Jan 4 10:51 /media/administrator/
administrator@administrator-Galago-UltraPro:~$

administrator@administrator-Galago-UltraPro:~$ ls -ld
/media/administrator/Extra\ Drive\ 1/
ls: cannot access /media/administrator/Extra Drive 1/: No such file or
directory
administrator@administrator-Galago-UltraPro:~$

administrator@administrator-Galago-UltraPro:~$ ls -l
/media/administrator/Extra\ Drive\ 1/Quote
ls: cannot access /media/administrator/Extra Drive 1/Quote: No such file
or directory
administrator@administrator-Galago-UltraPro:~$

On 01/04/2016 02:47 AM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Sorry, but what you see is contradictory.
> With the head command you were able to open the file, but with document viewer you can't?
> Sorry, but this is beyond my understanding.
>
> For the ownership of the device:
>
> What is the output of the commands
>
> ls -ld /media/
> ls -ld /media/administrator/
> ls -ld /media/administrator/Extra\ Drive\ 1/
> ls -l /media/administrator/Extra\ Drive\ 1/Quote
>
> I do not expect that a reinstallation of Ubuntu will change anything
> with your problem.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#32

Try the terminal command

sudo chown administrator:administrator /media/administrator

then try accessing the extra disk from nautilus as before.
and then re-issue the ls commands from my previous comment.

Revision history for this message
clombard (clombard44) said :
#33

administrator@administrator-Galago-UltraPro:~$ sudo chown
administrator:administrator /media/administrator
[sudo] password for administrator:
administrator@administrator-Galago-UltraPro:~$ sudo chown
administrator:administrator /media/administrator
administrator@administrator-Galago-UltraPro:~$
administrator@administrator-Galago-UltraPro:~$
administrator@administrator-Galago-UltraPro:~$ sudo chown
administrator:administrator /media/administrator
administrator@administrator-Galago-UltraPro:~$: command not found
administrator@administrator-Galago-UltraPro:~$ [sudo] password for
administrator:
[sudo]: command not found
administrator@administrator-Galago-UltraPro:~$
administrator@administrator-Galago-UltraPro:~$ sudo chown
administrator:administrator /media/administrator
administrator@administrator-Galago-UltraPro:~$: command not found
administrator@administrator-Galago-UltraPro:~$
administrator@administrator-Galago-UltraPro:~$
administrator@administrator-Galago-UltraPro:~$: command not found
administrator@administrator-Galago-UltraPro:~$
administrator@administrator-Galago-UltraPro:~$ ls -ld /media/
drwxr-xr-x 3 root root 4096 Dec 29 19:52 /media/
administrator@administrator-Galago-UltraPro:~$ ls -ld
/media/administrator/Extra\ Drive\ 1/
drwxrwxrwx 6 root root 4096 Jan 3 13:02 /media/administrator/Extra Drive 1/
administrator@administrator-Galago-UltraPro:~$ ls -l
/media/administrator/Extra\ Drive\ 1/Quote
-rwxrwxr-x 1 administrator administrator 111519 Jun 5 2015
/media/administrator/Extra Drive 1/Quote
administrator@administrator-Galago-UltraPro:~$

On 01/04/2016 11:13 AM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Try the terminal command
>
> sudo chown administrator:administrator /media/administrator
>
> then try accessing the extra disk from nautilus as before.
> and then re-issue the ls commands from my previous comment.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#34

Now try unmounting the extra disk in Nautilus (by pressing the small triangle-rectangle button beside its entry on the left hand side).
Then try accessing the files on the extra disk again.

Please provide the output of the following commands once more:

ls -ld /media/
ls -ld /media/administrator/
ls -ld /media/administrator/Extra\ Drive\ 1/
ls -l /media/administrator/Extra\ Drive\ 1/Quote
mount

Revision history for this message
clombard (clombard44) said :
#35

The properties of Extra Drive are Still "Root" IF and Until that changes
I don't see any progress.
Can the permissions be changed on Extra Drive from Root to Me
(like on Home Drive...?

administrator@administrator-Galago-UltraPro:~$ ls -ld /media/
drwxr-xr-x 3 root root 4096 Dec 29 19:52 /media/
administrator@administrator-Galago-UltraPro:~$ ls -ld /media/administrator/
drwxr-x---+ 3 administrator administrator 4096 Jan 4 11:15
/media/administrator/
administrator@administrator-Galago-UltraPro:~$ ls -ld
/media/administrator/Extra\ Drive\ 1/
drwxrwxrwx 6 root root 4096 Jan 4 11:21 /media/administrator/Extra Drive 1/
administrator@administrator-Galago-UltraPro:~$ ls -l
/media/administrator/Extra\ Drive\ 1/Quote
-rwxrwxr-x 1 administrator administrator 111519 Jun 5 2015
/media/administrator/Extra Drive 1/Quote
administrator@administrator-Galago-UltraPro:~$

On 01/04/2016 11:32 AM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Now try unmounting the extra disk in Nautilus (by pressing the small triangle-rectangle button beside its entry on the left hand side).
> Then try accessing the files on the extra disk again.
>
> Please provide the output of the following commands once more:
>
> ls -ld /media/
> ls -ld /media/administrator/
> ls -ld /media/administrator/Extra\ Drive\ 1/
> ls -l /media/administrator/Extra\ Drive\ 1/Quote
> mount
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#36

You can try changing the ownership of the extra drive by issuing a command like

sudo chown administrator:administrator /media/administrator/Extra\ Drive\ 1/

Revision history for this message
clombard (clombard44) said :
#37

This is what I got:

administrator@administrator-Galago-UltraPro:~$ sudo chown
administrator:administrator /media/administrator/Extra\
 > Drive\ 1/
[sudo] password for administrator:
chown: cannot access ‘/media/administrator/ExtraDrive 1/’: No such file
or directory
administrator@administrator-Galago-UltraPro:~$

On 01/04/2016 12:37 PM, Manfred Hampl wrote:
> Your question #280374 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/280374
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> You can try changing the ownership of the extra drive by issuing a
> command like
>
> sudo chown administrator:administrator /media/administrator/Extra\
> Drive\ 1/
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#38

Maybe it is better to switch from automounting (the extra drive is mounted automatically when accessed the first time) to permanent mounting with an entry in /etc/fstab.

Can you help with this problem?

Provide an answer of your own, or ask clombard for more information if necessary.

To post a message you must log in.