LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2015, 04:37 PM   #1
Fonder
LQ Newbie
 
Registered: Sep 2015
Location: McLean, Tx
Distribution: Mint 17.2
Posts: 2

Rep: Reputation: Disabled
No Permissions


My question is I am looking at the computer Icon on the desktop. I tried to get into the External drive. I received an error message stating that the folder contents could not be displayed. You do not have the permissions necessary to view the contents of "External".

How do I get the necessary permissions?


I am a total Noobie to Mint and Unix in general.

Thanks in advance
Fonder
 
Old 09-20-2015, 04:43 PM   #2
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 141

Rep: Reputation: Disabled
I'm not sure, but I think right-clicking on the drive will bring up information on permissions, among other things.
 
Old 09-20-2015, 04:57 PM   #3
Fonder
LQ Newbie
 
Registered: Sep 2015
Location: McLean, Tx
Distribution: Mint 17.2
Posts: 2

Original Poster
Rep: Reputation: Disabled
re permissions

I did what you suggested. Was informed that root was the owner and I could not change the permissions. How can I get to be root?
 
Old 09-20-2015, 05:13 PM   #4
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 141

Rep: Reputation: Disabled
Not sure; you'll want to ask one of the more experienced members.
 
Old 09-20-2015, 06:57 PM   #5
lab-rat
Member
 
Registered: Dec 2008
Distribution: Fedora Core 9, suse11.3 ,Ubuntu-super 10.10, Lubuntu 12.04 - 14.04.3
Posts: 35

Rep: Reputation: 4
I use Lubuntu, and if I have a drive that won't let me access it via File-Manager [ PcmanFm in this case], I open up the disk utility ,and Unmount the offending drive,[ ** It then may or may not then ask me for Root ** ]. Then I remount it in disk utility and voila, problem solved for that session. I know that can be a pain in the butt, so you need to think about what you did recently to over ride your auto-mount capability in either the last update, or something you installed to stop auto mounting of drives in user-space. You night also want to check your fstab file. only / should be "remount-ro" , the rest should be "defaults"......

good luck

L-R
 
Old 09-20-2015, 07:09 PM   #6
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
It depends what you need to do.
Avoid signing on as root.

From the command line it is likely that you can use the
Code:
sudo
command to obtain temporary root privileges.
You will be asked for your normal user password the first time you use it.
 
Old 09-20-2015, 07:37 PM   #7
lab-rat
Member
 
Registered: Dec 2008
Distribution: Fedora Core 9, suse11.3 ,Ubuntu-super 10.10, Lubuntu 12.04 - 14.04.3
Posts: 35

Rep: Reputation: 4
Hi Jeremy
I guess I should clarify my modus operandi here for @Fonder, When and if the Disk-Utility asks me for Root, it's only for permission to release the drive to the Sudo user. Not to give the Disk utility root . All Fonder needs to do after unmounting the drive, is click on the mount button again and then close disk-utility. The other other option which came to mind when you mentioned Sudo , I kinda wanted to avoid earlier, as opening up file-manager as root could have some consequences if Fonder went exploring and forgot he or she was root in the file manager.

Ciao
 
Old 09-20-2015, 08:06 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
You can permanently change the owner and/or group of the partition as root user. You can change the permissions as root also on a permanent basis. Not knowing what permissions you have it's difficult to suggest. What exactly do you want the user to be able to do? Answer that and someone should be able to give you specific advice. Posting the output of ls -l run on the mount point for the External drive would give some specific information
 
Old 09-20-2015, 10:01 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,350
Blog Entries: 12

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
I normally put externals--at least the ones that are, for all practical purposes, permanently attached to a particular machine--in my /etc/fstab, making sure to specify "user" permissions.

Here's a sample line for one of the partitions on my external (I use the UUID to identify the partition because that ensures it's always mounted to the same mountpoint):

Code:
UUID=1655a198-15a7-471f-9e99-e3fc9fd92ca0  /media/sdb1  ext3   rw,user,auto      0  1
The Arch wiki has a good article about fstab: https://wiki.archlinux.org/index.php/Fstab

Here's a good one about using UUIDs in fstab; the title refers to Ubuntu, but it's actually generic: http://www.cyberciti.biz/faq/linux-f...-update-fstab/

Last edited by frankbell; 09-20-2015 at 10:04 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Samba and permissions ( permissions seems ok but wont work anyway ) spooksman Linux - Networking 1 04-10-2014 10:58 AM
setfacl changes group permissions; giving another user rw permissions secretlydead Linux - Server 4 09-23-2012 12:12 AM
relation between programs permissions and permissions of the files they use rblampain Linux - Security 1 07-10-2011 09:40 PM
[SOLVED] filesystem permissions question - making so user can't change permissions? c0pe Linux - Security 4 07-12-2010 10:06 AM
[SOLVED] Lack basic understanding of permissions(apache permissions problem) cK` Linux - Newbie 7 04-09-2010 12:49 AM


All times are GMT -5. The time now is 12:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration