logoalt Hacker News

mitthrowaway2last Saturday at 5:06 PM2 repliesview on HN

In my experience, the remaining difficulties with Linux tend to revolve around managing ownership and permissions of files and directories.

I recently plugged in my external hard drive into my Linux PC and it just wouldn't read it. "You do not have permission to access this drive" or something like that. The solution after googling ended up being (for some reason) some combination of sudo chown -R user /dev/sda1 and unplugging and reconnecting the drive.

No way to do that from the GUI (on KDE at least) and I'm not sure how I'd even solve that problem if I didn't know the super user password.

Still glad to be using Linux, of course, but sometimes these problems still pop up.


Replies

amliblast Saturday at 6:17 PM

This shouldn't happen with external disks formatted with ntfs, ext or udf. If you have an EXT4 or something like that external disk things get more hazy...

show 2 replies
noAnswerlast Saturday at 10:05 PM

I don't doubt you had that problem. But it, and the solution you want, sound a bit strange. You want a button that gives your user access to everything despite its access settings... Than login and work as root.

I mean it's hard to tell what really happened. But a different user could have created this files with access rights only for himself on purpose. Something one can do with NTFS on Windows too. It also could have been a distro bug.

> but sometimes these problems still pop up.

I'm a 90% Windows- 9.5% Linux- 0.5% Mac-Admin at day job: Don't tell me Windows has no problems poping up. ;-)

show 1 reply