You are not logged in.

#1 2012-04-26 02:02:58

jmak
Member
Registered: 2008-12-21
Posts: 453

Mounting partitions

Hello,

After my recent update, I can't access my partitions anymore. Before, the partitions were auto mounted.  But I did it so long time ago, that now I forgot how I did it. When I click the partitions, I get the message, 'You are not authorized' . Could anyone who is more familiar with this help me out.
My desktop environment is: Enlightenment
Filemanager:Thunar

Thanks,
jmak

Offline

#2 2012-04-26 04:28:16

Yurlungur
Member
From: USA
Registered: 2012-01-06
Posts: 116

Re: Mounting partitions

This is probably a problem with your fstab file.
https://wiki.archlinux.org/index.php/Fstab


Lenovo Thinkpad T420; Intel sandy bridge i7 2.7GHz; integrated graphics card; 4GB RAM; wifi; Arch; Xmonad WM

Offline

#3 2012-04-26 04:54:56

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Mounting partitions

How are you starting enlightenment? Make sure your ~/.xinitrc reads like:

exec ck-launch-session dbus-launch enlightenment_start

Also search the forums. There are a TON of threads about Thunar and mounting issues.

Last edited by anonymous_user (2012-04-26 04:55:36)

Offline

#4 2012-04-26 05:03:16

jmak
Member
Registered: 2008-12-21
Posts: 453

Re: Mounting partitions

anonymous_user wrote:

How are you starting enlightenment? Make sure your ~/.xinitrc reads like:

exec ck-launch-session dbus-launch enlightenment_start

Also search the forums. There are a TON of threads about Thunar and mounting issues.

Yes, /.xinitrc is ok.

I was not clear in my initial post. After update I lost authorization. Mounting is ok. Everything is there, I just don't have the authorization to access the partition.
I searched the forum but found no usable info.

Last edited by jmak (2012-04-26 05:04:49)

Offline

#5 2012-04-26 05:17:14

Yurlungur
Member
From: USA
Registered: 2012-01-06
Posts: 116

Re: Mounting partitions

If you open a terminal and log in as root, can you access files via terminal? If so, you might want to do an ls -l and see what your computer thinks the permissions are. I had this problem on my Fedora installation a while back, and it turned out to be an fstab problem, which is why I suggested that.

Last edited by Yurlungur (2012-04-26 05:17:47)


Lenovo Thinkpad T420; Intel sandy bridge i7 2.7GHz; integrated graphics card; 4GB RAM; wifi; Arch; Xmonad WM

Offline

#6 2012-04-26 13:17:14

jmak
Member
Registered: 2008-12-21
Posts: 453

Re: Mounting partitions

In root I can't access my partitions, because they don't appear. However, I made some progress by creating several rules following udev arch wiki. This allows me to access my usb stick, but when I click eject volume I still get the 'Not authorized' message. My partitions are still not accessible.

Offline

#7 2012-04-26 19:28:57

jmak
Member
Registered: 2008-12-21
Posts: 453

Re: Mounting partitions

I've tried to reinstall the earlier version of udev because before update everything was fine. But I get this error message:

[root@myhost mak]# pacman -U /var/cache/pacman/pkg/udev-181-9-x86_64.pkg.tar.xz
loading packages...
warning: downgrading package udev (182-1 => 181-9)
resolving dependencies...
looking for inter-conflicts...

Targets (1): udev-181-9

Total Installed Size:   1.68 MiB
Net Upgrade Size:       0.05 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
error: failed to commit transaction (conflicting files)
udev: /usr/lib/ConsoleKit/run-seat.d/udev-acl.ck exists in filesystem
udev: /usr/lib/udev/rules.d/70-udev-acl.rules exists in filesystem
udev: /usr/lib/udev/udev-acl exists in filesystem
Errors occurred, no packages were upgraded.
[root@myhost mak]# 

Offline

#8 2012-04-27 05:03:33

Yurlungur
Member
From: USA
Registered: 2012-01-06
Posts: 116

Re: Mounting partitions

Hmm... your partitions don't appear at all? That's really strange... Did you ever choose a mount point for them before?

To get around pacman's error messages, make backups of the files it says exist (not necessary, but good practice), and then force the downgrade:

# cp /usr/lib/ConsoleKit/run-seat.d/udev-acl.ck /usr/lib/ConsoleKit/run-seat.d/udev-acl.ck.backup
# cp /usr/lib/udev/rules.d/70-udev-acl.rules /usr/lib/udev/rules.d/70-udev-acl.rules/backup
# /usr/lib/udev/udev-acl /usr/lib/udev/udev-acl.backup
# pacman -Uf /var/cache/pacman/pkg/udev-181-9-x86_64.pkg.tar.xz

Lenovo Thinkpad T420; Intel sandy bridge i7 2.7GHz; integrated graphics card; 4GB RAM; wifi; Arch; Xmonad WM

Offline

#9 2012-04-27 17:25:40

jmak
Member
Registered: 2008-12-21
Posts: 453

Re: Mounting partitions

I haven't touched anything. Everything has worked perfectly in the past 2 years. Then I updated a few days ago and I got this authentication problem.
I solved the problem temporarily by hardcoding all my five partitions in fstab. But previously, I haven't had to do this, udisks took care with the mounting.

Last edited by jmak (2012-04-27 17:32:00)

Offline

#10 2012-04-27 17:49:51

Yurlungur
Member
From: USA
Registered: 2012-01-06
Posts: 116

Re: Mounting partitions

I'm fairly certain the "correct" way to automount partitions is to use fstab. udisks has never detected my partitions... only my external media. Its possible you need separate udisk rules to get automounting in udisk to work... and its also possible that the udisks developers cleaned up the ruleset and thus these rules disappeared in a recent update.

Perhaps test to see if the problem relates to thunar by installing a different file browser and see if it has the same problems.


Lenovo Thinkpad T420; Intel sandy bridge i7 2.7GHz; integrated graphics card; 4GB RAM; wifi; Arch; Xmonad WM

Offline

#11 2012-05-09 12:58:17

silverzhao
Member
Registered: 2011-07-05
Posts: 33

Re: Mounting partitions

You may try this.


What you are you do not see, what you see is your shadow.

Offline

Board footer

Powered by FluxBB