Debian Configuration :: Regular User Cannot Unmount Autofs Share
Feb 19, 2016
Running 8.3..On 7.6 I had a automount and I was able to mount/unmount without issue. With 8.3, I can mount, but when I am in Thunar and i unmount, it gives me a permission denied.In /etc/groups I am in plugdev.
View 2 Replies
ADVERTISEMENT
Jun 17, 2009
I had this all hashed out in previous versions of Fedora, but since I have moved the Mrs over to F10 this problem has come to the surface yet again.The Mrs is a strait user. She does not do command line and there is not a chance in a hot place that I could convince her to do it. Now we have her on the F10 system and we, once again, can't get her to have the right Kung Fu to be able to moun/unmount the floppy drive using the computer icon on the Gnome desktop.
What has changed and how do I get this function back for her? She uses this for business files, so this is somewhat on the urgent side.
View 14 Replies
View Related
Oct 28, 2010
I have a server, with a static IP of 192.168.1.17, that is running Ubuntu lucid sever edition and that exports some shares per NFS. Here is its /etc/exports:
Code:
/media/Share00 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
/media/Share01 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
/media/Share02 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
/media/Share03 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
[Code]....
However, autofs does not work: the /msrv directory appears and disappears when I start and stop autofs; but when I enter "cd /msrv" followed by "cd Share05" in the terminal, I get the "bash: cd: /msrv/Share05: No such file or directory" message after the second command.
View 9 Replies
View Related
Jun 25, 2011
how to make autofa5 work [with NFS4] using [in]direct mapping but no joy so far. Firsty, this the "/etc/exports" on my NFS4 server (CentOS 5.6):
Code:
/media/exPort htpc(ro,sync,no_subtree_check,no_root_squash,fsid=0)
/media/exPort/mMusic htpc(ro,sync,no_subtree_check,no_root_squash)
and this what I have in there:
Code:
[root@serv03 /]# ls -l /media/exPort/mMusic
total 16
drwxrwxr-x 11 databank lhome 4096 Jun 23 21:25 iTunes
drwxrwxr-x 3 databank lhome 4096 Aug 19 2010 Network Trash Folder
drwxrwxr-x 3 databank lhome 4096 Aug 13 2010 Streaming Radio
[code]....
But it doesn't work - neither it throws any errors in, nor does it mount the share. All I need is to mount "/mMusic" (i.e. /media/exPort/mMusic) as "serv03:/media/nMedia/mMusic" so that tree looks like this:
Code:
.
|-- media
| |-- nMedia
| | |-- mMusic
[code]....
View 2 Replies
View Related
Jan 27, 2011
I've been having some issues with my sound card since I cannot play a sound with my current user. As a root user I can play sounds with "aplay" but as my regular user, I can't play anything
# aplay file.wav
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:564: audio open error: No such file or directory
# sudo aplay file.wav
Playing WAVE 'file.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
I have add my user to the audio group with no success
usermod -a -G audio myuser
View 2 Replies
View Related
Apr 29, 2010
We have a homegrown process that runs on a windows box and produces a csv file. We mount the directory these are output to using autofs/cifs and then process them using a program on our linux database servers.
Is there a way from linux, looking at the cifs share, to tell if the target file is currently in use by a process on the windows box? We are having issues where an incomplete file is being processed occasionally.
View 5 Replies
View Related
Jul 30, 2011
I followed this howto in order to mount CIFS shares on demand. This works great, however, this guide suggests leaving my network passwords unencrypted on the disk. This is a very bad security practice, as the passwords can be easly retrieved by booting the computer using a different OS.
I was looking for a way to secure things up, so I came up with this solution: Instead of storing the passwords plain text on the disk, I store them in a tar file encrypted using GPG. When I boot my system, I open this file to a directory in /dev/shm, and order AutoFS to retrieve the passwords from there.
This does the trick, but I presume this solution is not that secure, since /dev/shm content can be written to the swap partition. Is there any other solution which is a better security practice? Maybe using some sort of keyring service?
View 3 Replies
View Related
Sep 18, 2009
I have a SMB share, mounted on a Centos 5 server from a local Win 2003 server, that I cannot unmount (I have to reboot to successfully unmount it)
centos 5 version is 2.6.18-128.7.1.el5
samba version is: 3.0.33-3.7.el5_3.1
That share is mounted by a script called every night to perform an rsync backup to another remote Centos 5 server:
/bin/mount -t cifs -o ro,credentials=/etc/samba smbmount.credentials,uid='ad_domainuser',gid='ad_domaingroup' //win2003server/share /mnt/arch/ >> $LOGFILE 2>&1
And it is (should be...) unmounted at the end of the script: /bin/umount /mnt/arch/
When the script tries to unmount the share, this error is returned: unmount error 16 = Device or resource busy Refer to the umount.cifs(8) manual page (man 8 umount.cifs)
When I try to manually unmount the share from console (even after serveral hours), no error is given but the share does not unmount.
View 3 Replies
View Related
Dec 20, 2009
I have an NFS4 and Kerberos server on the same machine running a CentOS Plus 5.4 kernel (due the Redhat NFS kernel bug). On shutdown the command to mountd produces a [FAILED] response and the NFS share refuses to unmount, complaining that it is busy. This occurs even if no client machines have been started. i.e. with all machines stopped, start the server only (no clients) then shutdown the server - produces the same result.
Immediately after the server has been started, query the nfs daemon:
# service nfs status
produces normal output, except for:
# rpc.mountd is stopped
View 2 Replies
View Related
Jan 8, 2010
We have a server running Hardy. I configured it as an NFS client and mounted a share. The NFS server is remote and accessed through TCP only (no UDP allowed through the firewall). Now I've mounted it, though, I can't unmount it!
Code:
david@scatha $ mount | grep nfs
example.com:/home/david on /mnt/tmp type nfs (rw,tcp,addr=123.123.123.123)
Now when I try to unmount it:
[Code]...
View 4 Replies
View Related
Jul 26, 2010
I am trying to configure linux printer Server.
Setup : Using Centos 5.3
Printer : hp 4350
At present we are using windows print server getting user name and authenticated from domain server. I need your suggestion to configure linux printer server and how to share the printer to users and how to limit the user in taking printouts.
View 1 Replies
View Related
Sep 28, 2010
What is the difference between creating a "regular" user and creating a "system" user on Linux?
For example:
Code:
adduser john
Code:
adduser --system john
Similarly it seems there are normal groups and system groups. Doing an internet search and reading man pages does not give much information on the whole concept of system and regular user/group.
View 1 Replies
View Related
Mar 26, 2011
I have to force umount my NFS shares to get my computer to suspend. And I suspend it regularly. I wrote this script:
Code:
sync
sudo umount -a -t NFS -f
sudo pm-suspend
sudo mount -a -t NFS
Is that safe to run regularly?
View 2 Replies
View Related
Aug 4, 2011
I recently built a computer for a friend that is only going to be used to run a network share.
The problem I am running into is that whenever the computer restarts the share, while visible, cannot be accessed by the two Windows 7 laptops in the house.
If I run 'sudo umount /media/storage' followed by 'sudo mount /dev/sda1 /media/storage' the once visible but inaccessible share is now accessible.
I do not understand why this would be. I have added the line 'usershare owner only = false' to my smb.conf file.
View 2 Replies
View Related
May 20, 2011
I have an adapter eth0 I need one shared folder to exchange files, with another machine configured as 192.168.0.3/255.255.0.0
ping is working fine between both machines, but I think my problem is in routing, or I need to add a shared resource and I am having trouble with that... not sure if maybe I need to mount something as nfs or what?
[Code].....
View 6 Replies
View Related
Sep 15, 2015
Recently after updating my Debian Jessie, I can no longer access windows shares. I can access those shares from windows PC. And to be able from debian.
After I enter my password of windows share, the password dialog box pops up again. No warning, no errors. It just pops up. I cannot connect to any windows share.
View 0 Replies
View Related
Dec 6, 2009
I have external hard drive which I used to connect via eSATA. I have edited fstab and it looks like that now: UUID=35C595D5738A319A /media/DATA ntfs auto,user,exec,suid,rw 0 0 The problem is that I can't unmount it as normal user, when do that, receive: Error unmounting: umount exited with exit code 1: helper failed with: umount: only root can unmount UUID=35C595D5738A319A from /media/DATA
View 2 Replies
View Related
Feb 15, 2016
I currently have a Samba share on a Debian 7 system. This share was only ever used by Windows systems on the network.
I just finished setting up a Debian 8 system with Xfce, and now I would like to connect to the share. I already installed gvfs-backends and gvfs-bin. When I go to Thunar file manager, and click browse network, I'm presented with a "Windows Network" shortcut. When clicked it says: Failed to open "Windows Network". Failed to retrieve share list from server: No such file or directory.
View 8 Replies
View Related
Feb 16, 2010
"My network" is behind a firewall inside a larger windows network with AD. My network has a Debian Server with samba 3.2 running. One of the hosts that are on the outside of my firewall has a share that I and other Linux-users on the debian server wants to access.
View 1 Replies
View Related
Mar 10, 2010
Is it possible (on lenny, in case that matters) to backup some directories with rdiff-backup, with the target being a WinXP Pro Host, i.e. the target being a SMB share? My idea is to start the XP-Box over WOL, run rdiff-backup and then shut it down using "net rpc SHUTDOWN"...
View 1 Replies
View Related
Apr 2, 2011
I have two remote systems which I have fstab entries for on the local system. I have them set to noauto, because mount fails during boot for some reason, but that's not the problem. For years I've mounted them in rc.local.
The problem is after I recently reinstalled Debian, when I mount them manually it always asks for my user's password. I've copied my user's pub key from the local to the remote system and put it in the user authorized_keys file (not root), like I always have. But it still asks for a password, and so fails to mount in rc.local.
View 2 Replies
View Related
Apr 27, 2010
I know on Windows boxes you can defrag and run disk checks on large file shares to find and fix errors. What would be the equivolent to those for an ext3 800GB samba share containing pictures, documents, and videos? Is their online vs. offline (during a reboot) things that should be done?
View 4 Replies
View Related
Apr 22, 2010
I'm running kernel release 2.6.26-2-686 on a i686 and are trying to share files between my machine and some Windows 95/98 machines. When I enter smb://ip_number/share_name in Nautilus, it works. I can browse the files. When I try the same with smbclient or smbmount, it complains.
smbclient -I=ip_number -L=//server/share gives cli_rpc_pipe_open: cli_nt_create failed on pipe srvsvc to machine tf_calibration. Error was ERRSRV - ERRerror (Non-specific error code.)
View 4 Replies
View Related
Aug 10, 2010
I use Debian Squeeze on my laptop, and in my office we have a WinXP box where we store all our documents and stuff. When I'm in the office, I can directly mount my directory to edit documents, and at home/wherever I can use VPN to connect to the box so it's no problem again.
However: I'd like to know if there is a way to set up a directory on my laptop, that I can use even when offline, and then when I'm connected to the office computer, it automatically syncs with it.
View 2 Replies
View Related
Jul 18, 2011
I've got a fresh Wheezy/Xfce install.I'm trying to access a remote samba share the gigolo way. It is an external USB hard drive connected to my router. I can access it read only using the following URL with Icedove: smb://bbox/
Anyway, this is just to try and give might-be-useful information, but ultimately, I don't really want to use fusesmb. I would rather have the gigolo way working, allowing local network shares browsing, auto-connect, etc.
View 2 Replies
View Related
Dec 4, 2015
I try to connect my Debian Jessie to my Windows share
This is what I have done:
-> 1 - create an .smbcredentials file located in my /home directory (with account / password and domain)
-> 2 - implement /etc/fstab with information like that :
//192.168.x.x/Animes/media/Animes cifs uid=toto,dir_mode=0777,file_mode=0777,credentials=/home/.smbcredentials,iocharset=utf800
and when I try to go on my windows share, I have this message:
An error occurred while accessing 'Home', the system responded: mount: only root can mount //192.168.x.x/Audio-Video-01 on /media/Audio-Video-01
I think about one thing, if uid=toto is different in fstab than my current debian account session name, it is possible the problem came because of that?
(fstab, uid=toto and current session titi)
View 3 Replies
View Related
Mar 24, 2016
This my scenery:
1 pc windows 7.
1 pc linux debian jessie.
From jessie, mount a share folder in windows 7, in this way: mount -t cifs //windows7/sharefolder /mnt/windows7 -o user=pychi,password=mypass,uid=pychi,gid=pychi
And work fine, the user pychi and root, copy to windows share folder perfect and fast, but the big problem is:
when i copy a big folder, example 40 gb, after 30% or similar, stop the copy, and this is a list of different errors:
- It's not possible change file proprietary on destiny.
- not enough space
- can't fix attributes, date, time, proprietary, group.
View 0 Replies
View Related
Mar 1, 2010
I have got a laptop running Debian squeeze. I wish to share the wireless connection of the laptop (wlan0) to the ethernet port of the laptop, so that I can share the wireless connection to my desktop PC which is connected to the ethernet port.
[My desktop PC]---Ethernet---[My laptop]---))) WiFi )))---[Public network/ ISP]
I have read the article on Ubuntu community: [url]
I followed the steps, and the /etc/network/interfaces file on my laptop is:
Now the situation is: My laptop can connect to Internet (i.e. ping debian.org from laptop is fine), my desktop PC can connect to my laptop (i.e. ping 192.168.1.1 from desktop PC is fine). However, the desktop PC cannot reach the Internet.
I also read the information on Debian Wiki: [url]
It seems I must install and configure ebtables before sharing my wireless connection to ethernet port. Is it true? (But why the article on Ubuntu community doesn't mention it?) Or I just made some mistakes?
View 1 Replies
View Related
Aug 24, 2010
I have a home Debian server running, and i would like to set it up as a gateway. I have 2 networkcards in it. So internet comes from the modem and on the other card i want to setup a dhcp server and it has to share the internet. But i want it also to connect to a vpn and share the internet of the vpn.. Is that possible?
View 4 Replies
View Related
May 1, 2011
I upgraded my testing/Wheezy Inspiron N5010 to 2.6.38-2-amd64 recently (along with a bunch of other updates, of course) and now my Samba network share is no longer automatically mounting, I have to open a root terminal and do a "mount /mountpoint"; my relevant /etc/fstab entry:
I've tried over options, as well, but it isn't automatically mounting. Any suggestions (including where to file a bug report)?
View 3 Replies
View Related