This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[Device Auto-mounting] HAL,KDE4.4 and default permissions

Tags: None
(comma "," separated)
gary4gar
Registered Member
Posts
7
Karma
0
OS
Hello,
I have a small problem with default permissions of Automounted
Removable Devices. Whenever I mount it via KDE4.4's Auto-mounter. it
sets all files to be owned by root.

Code: Select all
$ ls -la /media/Backup/
total 24
drwxr-xr-x 3 root root  4096 Feb 10 16:07 .
drwxr-xr-x 6 root root  4096 Feb 10 17:30 ..
drwx------ 2 root root 16384 Feb 10 16:07 lost+found


I know KDE does not mount anything, it asks HAL. nothing is in
/etc/fstab but in /etc/mtab and in /proc/mount I got
Code: Select all
$ cat /etc/mtab
/dev/sdb1 /media/Backup ext4 rw,nosuid,nodev,uhelper=hal 0 0

$ cat /etc/proc
/dev/sdb1 /media/Backup ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0


This means I can't write/modify anything as a normal user. mounting
manually every-time I need to transfer few files is annoying.HAL
mounts drives by default only for root user.


[1] hal 0.5.14-1
[2] qt 4.6.1-1
[3] kernel26 2.6.32.8-1
[4] ArchLinux x86_64

I was wondering how to change this behavior, so normal
users could read-write into auto-mounted partitions, by default.

Any help in this regard would be apreciated


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]