Debian Hardware :: Mounting Drives As Normal User - GUI Apps

May 13, 2015

I have two internal partitions that I auto-mount at startup using fstab. This works fine & I can unmount/mount as a normal user no problem in the terminal (umount /dev/sdb1) but using thunar (or nautilus) I receive a message saying "not authorised to perform operation" (I use the DWM window manager, in gnome it pops up with a password prompt).

If I open thunar as root then I can mount/unmount.

The strange thing is I can mount/unmount usb sticks or mtp devices as a normal user no probs from thunar! So, I'm assuming it must be my fstab that's the problem?

Code:

Select allLABEL="DebianLive"             /                ext4    errors=remount-ro    0      1
/dev/sda6                      none             swap    sw                   0      0
/dev/disk/by-label/Vault       /media/Vault     ext4    users,auto,exec      0      0
/dev/disk/by-label/LiveJob     /media/LiveJob   ext4    users,auto,exec      0      0

This used to work fine on my wheezy install, only started having problems when I switched to Jessie ....

View 4 Replies


ADVERTISEMENT

General :: Cd-rom Can Not Be Used In Apps As Normal User In Opensuse 11.1?

Jul 8, 2010

Using opensuse 11.1 64 bit with kde 4.1.3, apps like k3b, or any multimedia apps can not see the optical drives unless I run the apps as root. I also found that to run bladeenc, I have to do it in a root terminal. Is there a way to set permissions for the normal user? Firefox or any text editor work fine as normal user.

View 6 Replies View Related

OpenSUSE :: Mounting Hard Drives As User?

Aug 4, 2010

OpenSuse 11.2 64bit When I select a hard drive in Dolphin file manager it asks for the root password. I would like to gain easier access to the drives. The Yast Partition Manager lists all of the drives and has a dialog box to change this i.e. user can mount the drive. Can we change this feature on the run, while the system is running ? The Fstab file is not listing all of the drives, so I cannot just edit the config here.

View 4 Replies View Related

OpenSUSE Network :: Mounting A Cifs Share As Normal User In OpenSuse 11.4?

Apr 2, 2011

Q: How can I allow my users to mount a cifs share without an entry in fstab in OpenSuse 11.4?

I have an answer myself. Until OpenSuse 11.2 I could mount my samba shares by making mount.cifs and umount.cifs setuid root. Today I installed OpenSuse 11.4. Unfortunately mount.cifs isn't anymore allowed to be setuid due to security concerns. Security is not an issue in my case, so I copied the mount.cifs and umount.cifs from 11.2 to make it work again:

1. Download cifs-mount-3.4.2-1.1.3.1.x86_64.rpm from this repository (I use 64 bit):
"http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/"
2. Extract the files mount.cifs and umount.cifs from the rpm and copy them to /sbin
3. Make them setuid root:

Code:
linux-y5qw:~ # chmod u+s /sbin/mount.cifs
linux-y5qw:~ # chmod u+s /sbin/umount.cifs
4. Mount your cifs shares as a normal user:

Code:
martin@linux-y5qw:~> /sbin/mount.cifs //192.168.2.2/data /home/martin/data/ -ousername=martin
Password:

View 1 Replies View Related

Software :: Halevt Mounts Drives As "read Only" For Normal User

Nov 20, 2010

I am using Ubuntu 10.04, with the Enlightenment WM, with nautilus for my file manager and I have installed the halevt package to handle the mounting of my external media. My issue now is that when I mount the media as a normal user it is being mounted as read only - any ideas how I can have halevt mount the media so I can write to it as my normal user in addition to reading from it?

View 3 Replies View Related

Debian :: Mounting External Drives - Unexpected Inconsistency

Jan 28, 2010

This question is an extension of previous posts in relation to my removable drives. I have an external usb/ide drives and cowon iAduio7 music player. The former is always connected and latter occasionally. The first drive to be recognized gets allocated /dev/sdc1 and /dev/hdd respectively. Until ten days ago I would simply mount them manually after each boot. Recently I added them to my fstab file. It's fine only for this error message on boot.

Code:
/dev/sdc1 unexpected inconsistency.
fsck died with exit status 4
failed (code 4)
Control-D to continue

I found the following on the net
Code:
If a device is not being mounted during boot, it may be b/c the driver for that device has not been loaded yet at the time that /etc/fstab is read (and thus the device is not active yet and doesn't get mounted). If you want to make sure it gets mounted during boot, you may need to take a look at the boot sequence for your distro and make changes as needed. Another thing you could try is adding a "mount" command of your own to one of your boot scripts. Most distros provide a file with a name like "rc.local" which gets executed late in the boot process and can be used to add your own custom commands to execute during boot. Firstly I want to know which script do you edit and does that mean I have to re-edit the fstab after creating the script.?

Here is my fstab:
Code:
[sudo] password for siawacsh:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sdd /home/siawacsh/cowon vfat defaults
/dev/sdc1 /home/siawacsh/myhome ext3 defaults 0 3
/dev/sdb2 / ext3 errors=remount-ro 0 1
/dev/sdb1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
siawacsh@debian:~$
Remember sdc1 is the external drive, and sdd the music player.

I have attached the removable drives to directories mhyome and cowon.

View 7 Replies View Related

Debian :: Starting Pppoe Connection By Normal User

Mar 8, 2010

I am using a broadband internet connection. Currently I am using pon and poff commands to start and stop the internet connection respectively. But for these commands to execute I should switch to the root user. I want even a normal user to be able to start or stop the connection. How can I do this?

View 1 Replies View Related

Debian :: Administrator Access To Normal User Home Directory

Nov 29, 2015

In my recent installations of Debian stable release (Jessie) with Gnome and Cinnamon respectively, I added my wife as a normal user. A home directory was created automatically for her.

In these installations, I am able to access her home directory, while, in the past, I was not allowed to access her home directory on previous Debian releases.

View 1 Replies View Related

Debian Multimedia :: How To Launch Desktop By Startx As Normal User

Jan 27, 2016

As a long time FreeBSD user, I consider give Debian a try upon the arrival of my new laptop. However, seems I couldn't launch desktop environment by simply typing startx on console as on FreeBSD. I can start desktop through a display manager like lightdm on Stretch, which is quite easy and straightforward, but I still prefer the "startx way".

I setup Debian Stretch on Virtualbox (4.3.43) using official debian-installer, login as a normal user, and install xfce4 via Code: Select allsudo apt-get install xfce4. The installation of xfce4 was very fast and it also introduced xorg related packages here. Then I edit my $HOME/.xinitrc as follows:

Code: Select allexec startxfce4

I typed startx to expect Xfce desktop but got the errors complained instead: [URL]....

while the xorg.0.log had the following contents: [URL]....

So, I failed to start xfce4 by startx as a normal user and had to install and start lightdm to go into desktop, but when I login as root, it worked and launched Xfce4 by startx without any problem. I couldn't figure it out now.

View 6 Replies View Related

Debian Multimedia :: How Does Gnome Mount Partitions As Normal User

Sep 2, 2010

When I mount a USB partition from the console, I need to execute mount as root unless I add a line in /etc/fstab. However, Nautilus mounts my USB stick automatically without asking for root permissions and without any entry in/etc/fstab. How does it do this?

View 6 Replies View Related

Debian :: Log Off/log On As Different User Breaks X Apps Under 5.0.1?

Jun 26, 2009

I've just installed Debian 5.0.1 (i386; network install) and I've run into a bizarre issue that I have no idea how to troubleshoot. If I log on as (e.g.) User1, log off, and then try to log on again as User2, X-based (i.e. not terminal) software will fail to load until I reboot. After logging on as User2, all X software (including the Gnome interface) will display its interface for a fraction of a second before vanishing from the screen and the task bar. One time the Gnome interface wouldn't load after log-on: the taskbar and menubar repeatedly flashed on and off the screen as Gnome repeatedly tried and failed to load.

View 1 Replies View Related

Fedora :: Prevent Mounting Of External Drives & CD / DVD Drives

Oct 18, 2010

I suspect this is not new but I just can't find where it was treated. Maybe someone can give me a good lead.I just want to prevent certain users from accessing CD/DVD drives and all external drives. They should be able to mount their home directories and move around within the OS but they shouldn't be able to move data away from the PC. Any Clues?

View 2 Replies View Related

Server :: Make A Normal User Execute Commands Of The Super User's?

Jul 3, 2010

I have a question that i want to make a normal user to execute the commands which the root user is able to execute, say if i have a user named siru and when i logged in using siru i cannot run commands like tracert,nmap@loccalhost and all but i can run when i have logged into root account so my question is how to make siru to run the command tracert,nmap@localhost.I have even edited the .bash_profile of siru's home directory from

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then

[code]...

View 1 Replies View Related

Ubuntu :: Pysdm Mounts Drives Differently To Normal?

Mar 10, 2011

I have a partition with my firefox profile that when I mount with Pysdm it cannot access. But when I mount normally by right clicking, unmount/mount. I can.

View 5 Replies View Related

Ubuntu :: Drives Not Mounting?

Apr 28, 2010

I've been Ubuntu 8.10 along with Windows from abt 3-4 monthsFor automatically mounting of NTFS drives that I has which were created by WIndows, I uses NTFS Configuration tool Everything was working fine in both OS's.But how come of a sudden today I'm not able to open any drive that I have which were happening till now.Not only this,at least if we press F9 then we get sidebar,from where we could have opened the drive .even that is not happening.

View 4 Replies View Related

OpenSUSE :: Mounting Some Hard Drives?

Oct 24, 2010

I have a few hard drives that I connect to my system with an usb to ide cord. some of the drives mount right away but some others don't below example.

Oct 24 11:10:04 linux-b21t kernel: usb 1-3: new high speed USB device using ehci_hcd and address 14
Oct 24 11:10:04 linux-b21t kernel: usb 1-3: configuration #1 chosen from 1 choice
Oct 24 11:10:04 linux-b21t kernel: scsi15 : SCSI emulation for USB Mass Storage devices
Oct 24 11:10:04 linux-b21t kernel: usb-storage: device found at 14

[Code]...

View 4 Replies View Related

General :: Mounting 2 Usb Drives In To 2 Different Locations

Mar 27, 2011

I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left port in to /mnt/left and the right port to /mnt/right) and the attachment order of those devices may differ (eg: left port usb may or may not be attached before the right.) In this case what should i do?

View 1 Replies View Related

Ubuntu :: Automaticly Mounting Drives?

Apr 9, 2011

Is there anyway to make so of my hard drives I have which are being used to share over a network automaticly mount themselves when my pc boots up?

View 2 Replies View Related

SUSE :: Command For Mounting Other Drives (XP And USB)

Jan 10, 2009

I have installed suse linux on my desktop pc. I cant see the disk drives on which windows xp is load. How can I mount those drives so that I can see those drives in suse also. Also when I connect my usb drive, it is also not shown. I am new to linux. What are these commands to mount the other drives.

View 3 Replies View Related

Hardware :: Mounting Hard Drives

Mar 21, 2009

I know this is an easy task, especially using cPanel. However I want to do this without formatting the drive, since there is sensitive data already on the hard drives. So how would I mount a hard drive, but not format/lose any of the data already on it?I've looked and everything seems to lead me to believe that I'll lose data if I do it that way.

View 7 Replies View Related

General :: Mounting 2 Usb Drives In To 2 Different Locations?

Mar 27, 2011

I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left port in to /mnt/left and the right port to /mnt/right) and the attachment order of those devices may differ (eg: left port usb may or may not be attached before the right.) In this case what should i do?

View 4 Replies View Related

General :: USB (Removable) Drives Not Mounting

Sep 29, 2009

I just started using openSUSE 11.1 with xfce and my problem is that I cannot mount my external USBs, I get the following message:

org.freedesktop.hal.storage.mount-removable auth_admin_keep_always <-- (action, result).

It seems hal does not give me permission to do this. Am I able to mount using the command line? If so, how?

View 14 Replies View Related

Fedora :: Auto Mounting Hard Drives?

Aug 10, 2009

I have a fresh installation of Fedora 11 and I am having a hard time figuring out how to automount my storage drives. Each time I login, I try to access my various storage drives and gnome makes me authenticate asroot before mounting it. FSTAB lists only logical volumes but not my storage drives. What can I do to make sure these automount when I login?

View 3 Replies View Related

Fedora :: USB Drives No Longer Auto Mounting?

Sep 16, 2010

I know this problem was mentioned here before but because I could not find a straight forward solution anywhere I am reposting this here. So here goes.As of today, my Fedora 13 64-bit has ceased to auto-mount USB drives completely. I have made absolutely no changes to the system and I am completely baffled and frustrated by this sudden development. I desperately need this system to function properly as I use it for school and this really put a wrench in my works, especially since I have done nothing to cause this. I assume that one of the many recent updates that have been released must have done this, but I have absolutely no idea how to fix this. Why do Fedora developers release updates that cripple a perfectly functioning system is beyond me and crap like this really makes me consider switching back to Ubuntu.

View 9 Replies View Related

OpenSUSE :: How To Get Dolphin Mounting Partitions / Drives

Aug 10, 2010

Is there a way that I can get Dolphin to mount partitions? When I try to, it gives me an error on the bottom of the window saying I don't have permission to. I also can't mount partitions in other programs like Amarok, because of the same issue.

Error Message:
An error occurred while accessing 'Windows 7', the system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freeDesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action, result)

View 6 Replies View Related

OpenSUSE Hardware :: USB Drives Not Auto Mounting?

Sep 11, 2010

my opensuse is not auto mounting USB drives anymore. It was working a few weeks ago! I have an external 500GB HDD and also an 16GB Kingston USB flash disk, both are not being auto mounted.If i do lsusb i get

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 2.0 Stick (4GB) / PNY Attache 4GB Stick
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[code]....

View 9 Replies View Related

Ubuntu :: Mounting Ext4 Drives/partitions In 6.06?

Apr 5, 2010

I just recently found an iso for 6.06 and installed it on an old pc of mine that already had 8.04 and crunchbang on it. crunchbang is on an ext4 formatted partition.

When I setup 6.06, it asked me what i wanted to mount my drives as, so i told it to mount the ext4 system as hda1.

whenever 6.06 boots, it tries to mount hda1 but can't because it doesn't recognize ext4.

What I am asking is this: is there a deb or a package out there I can install to make 6.06 recognize ext4? if not, how can i make it so that 6.06 does not want to mount hda1?

I can get past the initial error message and into the desktop, so 6.06 does work.

View 5 Replies View Related

Ubuntu :: USB Flash Drives Not Mounting Automatically?

Apr 24, 2010

I have Ubuntu 9.10 and when i plug in my usb drive it wont mount it automatically and is not shown in the nautilus browser also, but if i search in /dev its visible(its detected) and i can mount using mount /dev/sdc /mnt But if i do this i can only copy files from browser and for all other times i need to use terminal again

View 1 Replies View Related

Ubuntu Installation :: Mounting Ext3 Drives In 10.10?

Nov 18, 2010

It seems to be (we have experienced) that 10.10 can't handle having an older ext3 drive mounted to a folder on the 1010 ext4 drive. The files get "corrupted", but afterwards, putting the drive back into the original older 9.04 system, the files are perfectly fine again.

View 3 Replies View Related

Ubuntu :: Disable Automatic Mounting Of USB Drives?

Jan 9, 2011

Update: Solution posted below. Distro: Kubuntu 10.04 AMD 64. My system automatically mounts USB devices when attached to the system. I have explicitly disabled this function in (KDE) System Settings --> Advanced --> Removable devices. It doesn't matter - as soon as a USB device is plugged in the system mounts it as root.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved