Ubuntu :: Gnome Auto Mount Permissions Policykit-1
Aug 6, 2010
why can I not allow remote sessions admin rights? why is there a remote exception thrown when Gnome auto mounts my cdrom? Here is a valid use case for auto mounting on a headless server. Server live in external room, admin pc lives in different part of same building. Server needs new software on CD admin walks to server puts cd in server walks to admin pc installs software. Currently you need to mount manually. not a big deal but could be so much easier if I didn't have to do this.who can a moan to in order to get policykit changed.
P.S. I'm a developer willing to put my time where my mouth is and change this.
View 1 Replies
ADVERTISEMENT
Apr 14, 2011
after a recent update my policykit permissions stopped working, and I can't understand why.An example: mounting a flash drive requires password, hinting on rg.freedesktop.udisks.filesystem-mount. /usr/share/polkit-/actions/org.freedesktop.udisks.policy has the following:
Code:
<action id="org.freedesktop.udisks.filesystem-mount">
<description>Mount a device</description>
[code]....
View 5 Replies
View Related
Feb 11, 2010
I'm running OpenSuse 11.2. I've got it running mostly the way I want and it connects to my wireless internet no problem. I have a external hard-drive on my Windows machine setup as a share folder. I can mount the drive with:
Code:
mount //10.13.23.2/D /home/james/mnt/win However when I do mount like this it doesn't give my any read/write privliages on the drive. Also on a slightly different issue but still mounting related I have my HDD partitioned into four main drives (not including swap etc). They are my Windows drive, a seperate storage partition formatted for Windows, my main linux drive and a seperate parition for linux storage.
I want to have my Windows drive, my Windows storage drive and my linux storage drive all mounted on boot. I tried adding these to fstab, and they mount fine but again I have no read/write permissions. My fstab looks like this:
Code:
/dev/disk/by-id/ata-WDC_WD2500BEVT-35ZCT0_WD-WXE908AE4273-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD2500BEVT-35ZCT0_WD-WXE908AE4273-part6 / ext4
[code]....
Lastly I would like my Windows Share drive to mount on boot but I have been advised that I would need to write a shell script for this, to do network checks as obviously I won't always be connecting to my network.
View 6 Replies
View Related
Jan 31, 2011
Looks like its some sort of PolicyKit issue. Documentation (and I suspect the system itself) all assume that I have only one user. But my computer is a two-seat, my girlfriend and I are logged in at the same time. Only I am able to mount and write to USB drives. I suspect its because my account is always logged in first.
Dolphin gives the following error: org.freedesktop.Hal.Device.PermissionDeniedByPolicy
blah blah org.freedesktop.hal.storage.mount-removable auth_admin_keep_always
So my guess is that this "auth_admin" for some reason only refers to my user. I opened up the "Global Configuration" application (something that typed up when I filtered for 'policy' in the application launcher), and added my user, my girlfriends user and the 'user' group as "System Administrators". I logged out and logged back in on her account and this did nothing.
View 1 Replies
View Related
Jul 19, 2010
I have servers installed with RHEL 4 2.6.9-89.0.9 ELsmp. I tried using uuid and label in /etc/fstab to automount usb drives to mountpoints that I specify after reboot. Unfortunately, it just does not work in all my RHEL4 servers. After every reboot, /etc/fstab will be automatically modified and all configurations related to my USB drives will be changed. Irregardless of whether i use UUID or LABEL in my /etc/fstab.However, it works on RHEL5. But, upgrading is not an option in my environment. I have been googling around looking for alternatives but everything seems to point back to using UUID or LABEL in /etc/fstab. Anyone has tried something that works? Please help me, thank you.
View 7 Replies
View Related
Feb 10, 2010
I am trying to setup fstab to automatically mount my NTFS partitions. I have used various Mount managers to create the entries in fstab. The fstab seems fine, but when mounting at boot or even via Nautilus I get the error message that I do not have permission to mount the disk.
1) Can this permission be set in the fstab file? If so what is the syntax of the fstab entry?
2) If not, is there a tool i.e. GUI to set the mount permissions?
View 14 Replies
View Related
May 10, 2011
Current when my NTFS external drive is auto mounted, I can't run any executables from it.
If I unmount it and then manually do:
sudo mkdir /media/portable
sudo ntfs-3g /dev/sdc1 /media/portable
it works fine. Is there a way to make the auto-mount have "full" access so I can run applications from it?
View 2 Replies
View Related
Dec 14, 2009
I have an issue that my BACKUP drive is listed twice. (internal FAT) I am running F12 32b. I have it listed in FSTAB so it will automount & set the permissions. I did this in the earlier versions I upgraded from. I would like to either get rid of the other entry or, if easier, make it auto & set permissions but I don't know where it is.
View 11 Replies
View Related
Feb 4, 2010
Few weeks ago modified my old mobile phone SE k750i by setting on it w800i firmware. After this my phone isn't really (fully automatically) recognized by Ubuntu (9.10) which is the small problem for me now. Linux recognizes it as a USB device, but doesn't automatically mount it, which is why I have to do that manually and that leads to read only permissions for my user.
Here are the few outputs:
lsusb
Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 006: ID 046d:c222 Logitech, Inc. G15 Keyboard / LCD
Bus 002 Device 005: ID 046d:c221 Logitech, Inc. G15 Keyboard / Keyboard
Bus 002 Device 004: ID 0fce:d028 Sony Ericsson Mobile Communications AB
Bus 002 Device 003: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 002: ID 046d:c223 Logitech, Inc. G15 Keyboard / USB Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dmesg | grep usb .....
I've tried to create a custom udev rule via this thread, by putting the correct information according to lsusb:
Code:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="d028", MODE="0660", OWNER="zivs"
and reloading the udev rules, but that didn't help also.
How could I make my Ubuntu mount the /dev/sdb1 (which is my phone's memory card, since manually mounting it, there's all my phone recorded stuff) automatically on Desktop with all read and write permissions when I connect my phone to computer? Phone gets recognized immediately on Win7 OS ... but after the firmware change it's not really recognized by Ubuntu anymore.
View 1 Replies
View Related
Jan 8, 2010
Is there any way to specify what partitions of my USB Hard drive automount? There's really only one I want mounted automatically, and I've made three partitions. I'd like it so the one mounts, but the other 2 don't. Possible?
View 6 Replies
View Related
Jun 16, 2010
How can I auto mount all my drive at start up, I want them to be auto mounted.
View 4 Replies
View Related
Nov 5, 2010
Can I auto-mount my storage HDD? If so how?
View 4 Replies
View Related
Nov 17, 2010
im currently useing kubunt 10.10 and i need help to have this drive automounted at bootfor all users./dev/sda1 1 14590 117185536 83 Linux
UUID: 32dc7bba-7605-4543-ab73-d8cbb16c0f76i have tested diffrent options but non work.before i could use psydm but that was for a ntfs drive for ext3 it dont work aswell.i find kubuntu @ ubuntu very userfriendly but when it comes to this part its not that goodfor users like me that not are so experienced with linux
current fstab
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc
[code]....
View 2 Replies
View Related
Jan 8, 2011
I recently formatted my memory stick in windows. It works properly in windows. I have a dual boot with ubuntu 10.04 and the usb automounts in read-only mode. I cannot write anything to the usb stick in ubuntu. sudo chomod does not work.
View 4 Replies
View Related
Jan 13, 2011
how to set auto mount at startup. I have 3 partition how can i auto mount this partition at startup.
View 7 Replies
View Related
Jul 23, 2011
I'm running 64 bit Ubuntu, 11.04. When I first installed, I could plug in my USB thumb drive and it was automatically mounted for me. Lately, this no longer happens... I use the Disk Utility to mount it manually. What I did wrong to lose this automatic mounting?
View 9 Replies
View Related
Oct 11, 2010
I am trying to make the edit referenced on this page. But obviously it is for an older Ubuntu version because the /etc/PolicyKit/PolicyKit.conf file does not exist on my 10.04 system.
How do I go about making this edit for however 10.04 handles PolicyKit calls now?
It details I should be replacing a line that looks like
Code:
With
Code:
Any ideas where I would find such a line?
View 5 Replies
View Related
Oct 26, 2010
I can't seem to find the "Authorizations" GUI that was present in earlier ubuntus for configuring system policies. It used to be in System - Administration - Authorizations. Which package does it come in? What's the console command for it?
View 2 Replies
View Related
Oct 11, 2010
I am trying to make the edit referenced on this page. But obviously it is for an older Ubuntu version because the /etc/PolicyKit/PolicyKit.conf file does not exist on my 10.04 system.
How do I go about making this edit for however 10.04 handles PolicyKit calls now?
It details I should be replacing a line that looks like
Code:
<match action="org.freedesktop.hal.storage.mount-removable">
With
Code:
<match action="org.freedesktop.hal.storage.*">
[Code].....
View 1 Replies
View Related
Mar 10, 2010
I am looking for PolicyKit rpm for my RHEL 5.4 64 bit machine. I looked in most of the places but couldn't find one. Can somebody point me to this? Even the source rpm would be fine.
View 5 Replies
View Related
Jan 9, 2010
I just installed kubuntu 9.10 and noticed that several partitions (fat32 and ntfs) are mounted automatically after I login. I searched /etc/fstab but found no entries for those partitions. So I guess there may be something like start-up scripts that automatically detect and mount all partitions on the hard disk at boot/login. Does anybody know the location of those scripts (if any)? I want to disable that auto mount.
View 4 Replies
View Related
Feb 8, 2010
I wanted to mount a drive permanently that I see in my Places -> Network ->
I can add it no problem, but I want it to always mount it when it is available when I am not around.
Once I mount it in the GUI is there any way to make that mount a permanent one?
View 1 Replies
View Related
Feb 21, 2010
I have 9.10 and notice that when I look in Places none of my volumes/partitions are mounted - if I click on them I have to enter my user password to authenticate to gain access. My problem is that (with some help) I have set up rsync so it runs when I shut down my PC and backs up my Home folder from a partition on sda to a partition on sdb - this is great but sometimes it works and sometimes it doesn't.
I have done some tests and discovered that if I use my PC and never manually mount my backup sdb partition the rsync does not work (I also have GAdmin-rysnc so I can run manually backup but this also will not run if I do no mount the sdb volume). However, if I do mount the sdb backup partition and close down/restart then the backup works. What I need is my sdb backup partition to be automatically mounted every time I switch on - can this be done? I'm sure I had this working in 9.04 (auto mounting) but 9.10 seems not to like it.
View 4 Replies
View Related
Mar 14, 2010
On my laptop I have Windows and Ubuntu, and I use Ubuntu very often. How can I auto-mount the NTFS partitions once I run my Ubuntu without the need to manually ask to mount it and confirm with the root password each time and for each partition?
View 5 Replies
View Related
May 29, 2010
My 16gb usb memory stick now fails to mount. The device can be seen in gparted but partition is shown as unknown. Tried to format but error message popped up "failed". The device is shown in dmesg see below. I had tried to use the device to create a bootable usb but this did not work and the problems happen there after.
dmesg:
usb 2-2: new high speed USB device using ehci_hcd and address 3
[41796.814297] usb 2-2: configuration #1 chosen from 1 choice
[41796.943922] Initializing USB Mass Storage driver...
[41796.944228] scsi2 : SCSI emulation for USB Mass Storage devices
[Code]....
View 1 Replies
View Related
Jun 2, 2010
I have many flash drives, memory sticks, card reader, and 2 mybook 1tb so i am constanly plugging in, or unplugging devices from my machine running the latest version of ubuntu (i beleive 10.04?). I remember when i use to connect a device it would mount and work right off the bat. but now, everytime i connect anything, i have to go through Disk Utility to select the drive and mount it (also unmount before disconnect). Another problem is that some times disk utility doesnt like to work (as with a few other programs). This happends every now and then and im not sure if its my systems hardware or this version of ubuntu. every now and then programs like to stop responding (turn grey) and some programs like disk utility will open up, but just be blank and not show the detected devices
View 9 Replies
View Related
Jun 12, 2010
I upgraded to 10.4 and installed Grub on a wrong drive. This means that I have it on the right drive (the one with Ubuntu) and in the wrong one (the one use for data). I have no problems with booting to Ubuntu or Windows. I can even access the files from the data drive (called Storage) after the systems boots. The thing is that I can't auto mount it anymore (with /etc/fstab) and I don't know how to remove grub from the drive, because I can't find where the boot files are. When booting Ubuntu, a message appears saying that there has been an error when trying to mount the drive, I press 'S', to skip the mounting and it goes to the desktop with no problems after that. I only want to be able to auto mount it, even if I can't remove it.
This is the info from Boot Info Script:
Code:
Boot Info Script 0.55 dated February 15th, 2010
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #1 for /boot/grub.
=> Grub 2 is installed in the MBR of /dev/sdb and looks on the same drive in partition #1 for /boot/grub .....
View 2 Replies
View Related
Sep 1, 2010
I just changed the os on my media server from Windows Home Server to Unbuntu 10.4 server. I got most of it working (samba, twonkymedia)
The only thing i have left to get working is the backup of that server. I installed bacula as i beleive it will do the job (unless someone has a better and simpler to configure idea) and i would like it to backup to my external usb 1Tb hard drive. I am able to mount the drive manually but this server gets turn on and off often to save power (and cut the electric bill) when not in use. I tried adding a line to fstab but when a do that, the server gets stuck on the startup even with the drive turned on. I read somewhere that i should use the UUID of the drive as it could change from sbd1 to sbh1 on restart so i did, same result.
View 4 Replies
View Related
Sep 19, 2010
My 10.04 64-bit desktop has been auto-mounting USB devices (flash drives and my mp3 player) as read-only for some reason. I had this issue happen once a while in the past, so I simply re-mounted it as rw.
Code:
mike@mike-desktop:~$ mount | grep -i 36CB
/dev/sdc1 on /media/36CB-D1A8 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
[Code].....
View 3 Replies
View Related
Dec 28, 2010
I've been trying to unsuccessfully auto-mount my drives when starting up. I've made a script that sets me to the root using "sudo -s" and then mounts the drives. The commands to mount the drives work properly when entered into the command line, but when I try running them from an executable, they don't work. What might I be missing?
View 2 Replies
View Related