Ubuntu Networking :: Cannot Open Mounted Shares On NAS "Permission Denied"
Mar 30, 2010
I have an Acer EasyStore NAS which I can access fine in Nautilus, but a server which I have been trying to mount via command line refuses to even let me view the contents of the folder. The mount command appears to work, a password is requested when connecting to the shared folder.
sudo mount -t cifs --verbose -o user=jason //nas/media /mnt/nas
mount.cifs kernel mount options: unc=//nasmedia,ver=1,rw,user=jason,ip=192.168.0.250,pas s=********
But I cannot even view the folder contents, as even a simple ls returns:
ls: cannot open directory /mnt/nas: Permission Denied
Even on my laptop which is able to access all the shared folders under Nautilus I am unable to mount shares from the command line.
I'm getting error from KVM when i try to create new machine. I have install group Virtualization. From gui virtual-manager (after being asked for root passwd) tried to create new machine. When pressed on 'Finish' got this 'Permission denied' error: Code: Unable to complete install '<class 'libvirt.libvirtError'> internal error Process exited while reading console log output: char device redirected to /dev/pts/3 qemu: could not open disk image /sonik_data/software_archive/CentOS-5.5-x86_64-netinstall.iso: Permission denied
Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/create.py", line 1567, in do_install dom = guest.start_install(False, meter = meter) File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1023, in start_install return self._do_install(consolecb, meter, removeOld, wait) File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1088, in _do_install "install") File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1059, in _create_guest dom = self.conn.createLinux(start_xml, 0) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1277, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/3 qemu: could not open disk image /sonik_data/software_archive/CentOS-5.5-x86_64-netinstall.iso: Permission denied
It's running as a root, what permissions we are talking about here? I'm running F14, kernel 126.96.36.199-72.fc14.x86_64, libvirtd 0.8.3
I installed wvdial on my Satellite Toshiba laptop. All works well but I have to use the <wvdial> command as root. If I try to use it as a user i get an error message Cannot open /dev/ttyACM0: Permission denied So Im just wondering; is it ok to use wvdial as root?
I just isntalled LAMP using tasksel and have a problem. Whenever I try to access a page (aside from phpmyadmin, that works well), I get this error... Code: Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error: Unknown: Failed opening required '/var/www/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
I have restarted the computer, restarted apache, etc and still nothing. When I first installed, phpmyadmin was inaccessible, so I ran some command in terminal which apparently created a symlink between phpmyadmin in the user/share dir to the /var/www dir, and curious if this is the problem. I have no clue how to remove this symlink if this is the case, and have phpmyadmin working now due to install using sudo apt-get install phpmyadmin.
I was able to get the a2ensite command to enable a virtual site because it says "Site xxxxx.com already enabled" when I run the command. My problem now is that even though a site is enabled it says this: Code: /etc/init.d/apache2 restart * Restarting web server apache2
[Tue Apr 20 01:28:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts [Tue Apr 20 01:28:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts [Tue Apr 20 01:28:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts [Tue Apr 20 01:28:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs Should I do a chown or chmod to a file?
this error spams about 100 times, then the scanner does indeed work. So I'm not completely broken, but the error messages are of concern, and it slows down the process of scanning for the time it takes to do the messages.
Error in console:
libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied. libusb requires write access to USB device nodes.
when I try to su, with the right password I know it is because I have reset it with a sudo, it says su: incorrect password. Looking at /var/log/messages I see su: Unable to open admin password file: Permission denied. This must mean that the file has incorrect permissions and or owner/group. I am wondering if anyone knew where the file was located and the correct permissions/owner/group.
Running newaliasespostalias: fatal: open database /etc/aliases.db: Permission deniedin my /etc I do not have a aliases.db only an aliases.I cp aliases aliases.db but when I try and install post fix again it gives me the same error and aliases.db goes away.
I am having problems gaining access to the BackupPC admin web page. The error:
[Tue Feb 22 16:43:59 2011] [error] [client 192.168.0.2] (13)Permission denied: Could not open password file: /etc/BackupPC/htpasswd [Tue Feb 22 16:43:59 2011] [error] [client 188.8.131.52] access to /backuppc failed, reason: verification of user id 'myhtaccessuser' not configured
Why is this occuring, is there anyway of getting around this? I just cant remember originally on my old system how I set this up.
I am giving 10.04RC a try instead of Windows 7, so far so good. I can connect to my network shares fine using "Connect to a Server" & bookmark with the file browser, however when I use OpenOffice writer Spreadsheet to open/save files the shares disappear in the"Open/Places". Is this a bug in Ubuntu or Open Office? Is there an update/fix?
I'm sure there is a very trivial solution to my problem but I just can't figure it out due to my lack of knowledge.I want to mount an nfs share share on client1. The share is on server1.The server1 /etc/exportfs has entry: /backup client1 rw,all_squash,no_subtree_ check) The client1 sudo mount works just fine: sudo mount server1:/backup /backup..Can anyone let me know how to mount the nfs whare with options to read/write permissions for a regular user. And then put that mount into /etc/fstab? Should I mount first and then change the ownership of that folder?
create a VM here with virsh. I've managed to create the XML file and got it to work properly, however running it is the problem. These are the errors I get error: Failed to start domain Cent-OS, internal error process exited while connecting to monitor: open /dev/kvm: No such file or directory ,Could not initialize KVM, will disable KVM support qemu: could not open disk image /media/55D123D9E79ABF54/VM/Cent-OS-5.5.img: Permission denied
I have tried several things to attempt to fix my sudoers file however it is still coming up with errors. The error says
the sudoers configuration file is set to the default as I have ran a dpkg on it, have also uninstalled and reinstalled it, and went over the configuration file ensuring it looked like the defaults I had seen online.
I wanted to use NFS4 with id mapping. I followed the write up at [URL] and basically have everything working.
The problem is that I cannot write a file unless I have group write permissions. On the server the user has uid = 1000, gid = 1000. On the client the user has uid =1699, gid = 1000. Both have the same user name.
On the client the directory listing properly shows the user name and the group name. If the file on the server is 644, the client cannot write to the file. If it is 664 on the server, then the client can write to the file.
/etc/export on server contains:
Code: /export 172.24.84.0/24(rw,fsid=0,insecure,no_subtree_check,async) /export/myuser 172.24.84.0/24(rw,nohide,insecure,no_subtree_check,async) /etc/fstab on client contains:
I am using centOS-5, I have mount NTFS drive by using fuse. But there is no rights and even there is no option on right click to make new directory or to del any file or folder. This is line of fstab for NTFS drive
How can I get full access and control on this NTFS mounted drive.
I'm using fedora8.When i mount shared folder on windows,it was mounting and i can browse the files and directories in terminal as i have full permissions on that.But,when i open the mounted directory in GNOME Environment,it was saying you did not have permissions to see the contents,every directory and file has been locked.
I just set up a storage server with NFS sharing. Everything work fine but, when trying to mount the remote partition on my ws, this is the issue: /usr/sbin/start-statd: line 8: /sbin/rpc.statd: Permission denied /usr/sbin/start-statd: line 8: /sbin/rpc.statd: Success mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
I tried so to mount it locally : mount.nfs: access denied by server while mounting localhost:/var/ftp/pub /mnt I don't think it depends because of the permiss of the directory, and anyway it's 1777.