You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Need to authenticate before accessing internal drives

Author (Read 9320 times)

0 Members and 1 Guest are viewing this topic.

Re: Need to authenticate before accessing internal drives
« Reply #14 on: July 29, 2015, 07:34:38 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Permissions look good, just need to change the above mentioned fstab.
 

Re: Need to authenticate before accessing internal drives
« Reply #13 on: July 29, 2015, 07:29:45 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Those UUID's don't look right at all. They should be something like '4f9e3858-d3f2-49da-8504-c728c7ccee88' instead yours are like 'A0103FFB103FD74E' Can you check again with the sudo blkid command please. Also check the formatting of your fstab. Each block of info should be proceeded by a tab eg.

You have: UUID=A0103FFB103FD74E /home/paul/seagate400 ntfs defaults,umask=007, uid=1000, gid=1000 0 0

Should be: UUID=D872AA8A72AA6D46    /home/paul/wd2000    ntfs        defaults,umask=007,uid=1000,gid=1000    0    0

looks like you've just put a space instead of a tab.

You also have spaces after these: umask=007, uid=1000, gid=1000
when there should be none. Should be: umask=007,uid=1000,gid=1000

Much to work on here.
 

Re: Need to authenticate before accessing internal drives
« Reply #12 on: July 29, 2015, 07:19:46 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
Ok, I still have a problem. Here is the mount output:

Code: [Select]
paul@Precision:~$ sudo mount -a
[sudo] password for paul:
[mntent]: line 17 in /etc/fstab is bad
[mntent]: line 19 in /etc/fstab is bad
[mntent]: line 21 in /etc/fstab is bad
paul@Precision:~$


Here is the fstab (it had a blank line at the bottom):


Code: [Select]
# /etc/fstab: static file system information.
#MUST HAVE BLANK LINE AT BOTTOM
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
#noatime, added for SSD TRIM by pb, 7/2015
UUID=821f7efc-9a0e-482a-a750-0a393503d99e /               ext4    noatime,errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=f0a720b2-5678-48de-b5f4-088e0e8d3e2c none            swap    sw              0       0
#
#NTFS Partitions automount:
# Seagate 400:
UUID=A0103FFB103FD74E /home/paul/seagate400 ntfs defaults,umask=007, uid=1000, gid=1000 0 0
#Seagate 520:
UUID=60426C51426C2E4A /home/paul/seagate520 ntfs defaults,umask=007, uid=1000, gid=1000 0 0
#WD 2TB:
UUID=D872AA8A72AA6D46 /home/paul/wd2000 ntfs defaults,umask=007, uid=1000, gid=1000 0 0


And here is a pic of the permissions (all three folders had exactly the same permissions):





If this prints well then the problem was with postimage's forum url.


Thanks for your time.
« Last Edit: July 29, 2015, 07:21:23 PM by paul1149 »
 

Re: Need to authenticate before accessing internal drives
« Reply #11 on: July 29, 2015, 06:59:56 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
Ok, I can see how text/code would be much better than a pic.

Using multiple folders makes a lot of sense. That clears that up for me. I will try this and get back.

Thank you.

The only thing I can add about the first version of that post is that I used the forum url links directly from postimage, and probably they conflicted with SMF somehow.
 

Re: Need to authenticate before accessing internal drives
« Reply #10 on: July 29, 2015, 06:47:25 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Looks much better, thanks. Also in future when posting the contents of a file or terminal, use the code brackets, this allows responders to copy your code and paste the changed code eg. with the above fstab file, someone would have to type out those lines again to provide a solution for you, which would take much longer.

Start with giving all of those extra drives unique names, at the moment 2 of them have the same name 'ntfsfiles'. May I suggest each mount is called by its drive name, eg. 'segate400' 'seagate520' ,wd2tb'. So first, rename those old mount points in your home folder, then change your fstab file to reflect the new names. Use lowercase only. When you've finished, open a terminal and do:

Code: [Select]
sudo mount -a
to mount the newly named mount points without having to reboot.

Then right click on those folders you have mounted, and screen shot each of the 3 mounts Permissions tabs.
 

Re: Need to authenticate before accessing internal drives
« Reply #9 on: July 29, 2015, 10:43:18 AM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
That is precisely what I did.
 

Re: Need to authenticate before accessing internal drives
« Reply #8 on: July 29, 2015, 10:39:06 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Avoid using any size or color on the text. Just type your message and post your images. K.I.S. :)
 

Re: Need to authenticate before accessing internal drives
« Reply #7 on: July 29, 2015, 10:37:00 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
I really don't know what to do with your post. Paul please read here - https://www.linuxliteos.com/forums/introductions/forum-posting-guidelines/ and edit your last post.
 

Re: Need to authenticate before accessing internal drives
« Reply #6 on: July 29, 2015, 10:33:14 AM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
I'm still have problems, accessing the mount folder. Here is a series of screenshots:












I also (think) i set TRIM for my SSD, which I was not aware needed to be done.
Also don't know why SMF is adding/showing all the resize info. I did not change any sizes of font or pics.
Trying again using imgur.
« Last Edit: July 29, 2015, 10:52:57 AM by paul1149 »
 

Re: Need to authenticate before accessing internal drives
« Reply #5 on: July 29, 2015, 12:38:34 AM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
No. Will do tomorrow. thanks.
 

Re: Need to authenticate before accessing internal drives
« Reply #4 on: July 29, 2015, 12:28:57 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Have you read the instructions in the Help Manual regarding mounting drives and partitions?
 

Re: Need to authenticate before accessing internal drives
« Reply #3 on: July 29, 2015, 12:22:18 AM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
These are other internal drives, from my previous Win7 installation. Two hard drives divided into three partitions all told. They will be owned by the old Win7 account, which I suppose is at the root of the problem.
 

Re: Need to authenticate before accessing internal drives
« Reply #2 on: July 29, 2015, 12:01:11 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
You shouldn't need to authenticate to access internal drives. How did you set these up? Please provide details.
« Last Edit: July 29, 2015, 12:27:52 AM by Jerry »
 

Need to authenticate before accessing internal drives
« Reply #1 on: July 28, 2015, 11:52:06 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
Is there any way to get rid of the need to authenticate before accessing internal drives after each boot? I came across instructions to alter the /usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy file, but there is none in LL. I trust the setting must be somewhere else.

Thanks,
Paul
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section