You are not logged in.

#1 2011-10-10 09:13:26

rogue
Member
Registered: 2011-08-03
Posts: 68
Website

[solved] Mounting problems

I'm having issues accessing a partition as a normal user. All I have is read permission. I set up my hard drive with /, /home, and /library for my media. I can access my home folder fine, but library is off limits it seems. Also, I can't seem to figure out automounting (for example, my usb drive.) I tried making the file 60-localauthority.conf like the policy kit wiki page said to do, but that didn't help. I'm using Openbox with thunar file manager. My .xinitrc file is:

exec ck-launch-session dbus-launch openbox-session

My fstab has library with defaults,relatime options

Anyone have any ideas??

Last edited by rogue (2011-10-10 11:23:30)

Offline

#2 2011-10-10 09:50:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Mounting problems

I think defaults means: rw, suid, dev, exec, auto, nouser, and async. 'nouser' can be the culprit.

Offline

#3 2011-10-10 10:05:53

gymka
Member
From: Lithuania
Registered: 2011-04-29
Posts: 40
Website

Re: [solved] Mounting problems

i had similar problem with usb flash, i couldn't delete files, so problem was that i needed ntfsprogs package:)

Offline

#4 2011-10-10 10:09:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Mounting problems

gymka wrote:

i had similar problem with usb flash, i couldn't delete files, so problem was that i needed ntfsprogs package:)

That has nothing to do with flash usb - it's needed for the NTFS filesystem, but I think ntfs-3g is enough.

Offline

#5 2011-10-10 10:39:34

rogue
Member
Registered: 2011-08-03
Posts: 68
Website

Re: [solved] Mounting problems

My home partition has defaults,relatime as well. nouser is part of the default option, but why then am I able to write,read,and modify in my home directory and not my library? Sorry if this is a stupid question.

Offline

#6 2011-10-10 10:41:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Mounting problems

rogue wrote:

My home partition has defaults,relatime as well. nouser is part of the default option, but why then am I able to write,read,and modify in my home directory and not my library? Sorry if this is a stupid question.

Are you mounting /home as a user?

man mount wrote:

nouser
        Forbid an ordinary (i.e., non-root) user to mount the filesystem.   This  is  the default.

Mount options are not the same as file & directory permissions.

Last edited by karol (2011-10-10 10:46:00)

Offline

#7 2011-10-10 10:47:14

rogue
Member
Registered: 2011-08-03
Posts: 68
Website

Re: [solved] Mounting problems

Home is mounted as root.

Ok I changed my options to rw,user,auto,async,noatime and rebooted. I'm still having the same issue??

EDIT: used chown to make my user owner of library. i left group as root and gave root full permissions as well. this should work well enough for now. thanks karol!

Last edited by rogue (2011-10-10 11:25:24)

Offline

Board footer

Powered by FluxBB