LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 05-03-2012, 09:15 PM   #1
AMCJavelin74
LQ Newbie
 
Registered: Apr 2012
Posts: 22

Rep: Reputation: Disabled
Can't view my files


So, I have my account on Mint as "administrator" type, and when I tried to access files on an external drive, it said that I did not have permission to access or view the files.

I unplugged the drive, and plugged it back in, and when it popped up at the bottom of the screen, I could access the files.

What's going on?

Also, how do I stop the pop-up notifications of a 'new device/drive detected' from coming up?

Thanks,
matt
 
Old 05-03-2012, 09:50 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
It is likely that the first time the drive was mounted, it was owned by root. The next time, it was owned by user. Note that I'm just guessing here, but I have seen such behavior in the past.

The only way to make sure is to look at the permissions when and if it happens again. If you can view it from the command line, use the ls -l command--it will show you the permissions in column one. That's the most reliable method. See man ls for more.

Alternatively, you can open your file manager, right-click on the drive icon, and select "Permissions" from the pop-up dialog. (Depending on the file manager, you may have to hunt a bit to find the "permissions" dialog.)

Whether or not you can disable the pop-ups depends on the file manager and desktop environment you are using. Provide that information and we may be able to help you.
 
1 members found this post helpful.
Old 05-03-2012, 10:24 PM   #3
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
Quote:
Originally Posted by AMCJavelin74 View Post
So, I have my account on Mint as "administrator" type, and when I tried to access files on an external drive, it said that I did not have permission to access or view the files.

I unplugged the drive, and plugged it back in, and when it popped up at the bottom of the screen, I could access the files.

What's going on?

Also, how do I stop the pop-up notifications of a 'new device/drive detected' from coming up?

Thanks,
matt
Log to Root Account to be able to view
files
 
Old 05-03-2012, 11:24 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Being Administrator is Ubuntu's equivalent to being a member of group wheel AFAIK. In other words, you can use sudo to run commands as root, not that you always have root power.

Was the external drive connected before booting the computer? I think it was mounted before a regular user had a session, so it was mounted as root. As it worked after plugging it in, it sounds like your policy kit permissions are OK.

udev/console kit/policy kit and the desktop work together in an attempt to make it easier for you. Doing away with the notifications, you may need to create a mount point somewhere else for the device (i.e. not in /media ) such as /mnt/drive, and create an entry in /etc/fstab allowing you to mount it yourself. In other words, old school. You may find the notifications to be worth the convenience.
 
Old 05-04-2012, 05:28 PM   #5
AMCJavelin74
LQ Newbie
 
Registered: Apr 2012
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jschiwal View Post
Being Administrator is Ubuntu's equivalent to being a member of group wheel AFAIK. In other words, you can use sudo to run commands as root, not that you always have root power.

Was the external drive connected before booting the computer? I think it was mounted before a regular user had a session, so it was mounted as root. As it worked after plugging it in, it sounds like your policy kit permissions are OK.

udev/console kit/policy kit and the desktop work together in an attempt to make it easier for you. Doing away with the notifications, you may need to create a mount point somewhere else for the device (i.e. not in /media ) such as /mnt/drive, and create an entry in /etc/fstab allowing you to mount it yourself. In other words, old school. You may find the notifications to be worth the convenience.
yea, I can probably tolerate the notifications- they just come up every time I boot the computer and it's a minor hassle. I'd like to be able to just have the external HDDs connected 'seamlessly' (they hold my files, my ancient 40gig HDD has the OS and programs... currently it's partitioned for 10gb for the OS, 29gb for data (/home), and 1gb for "RAM"... forgot what it's technically called though...) If I were to connect, say, a usb drive or other device, a notification asking me what to do would be great.

As for the version of Mint I'm running, it's Lisa, or version 12

Last edited by AMCJavelin74; 05-04-2012 at 06:31 PM.
 
  


Reply



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
How do I view files that have already printed? mesteen Linux - Newbie 8 10-27-2010 08:34 AM
unable to view files by files when ls in text mode jenson Linux - Server 2 06-20-2008 07:57 AM
unable to view .vsd files (Visio Files) mr_manny Linux - General 5 11-30-2006 07:03 PM
Can't view files Johnnyae17 Linux - Hardware 2 12-31-2004 12:20 AM
How can konqueror view html files in .gz & .bz2 files directly? ailinzhe Linux - Software 5 05-24-2004 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 07:34 AM.

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
Open Source Consulting | Domain Registration