Ubuntu Networking :: NFS4 - UID Mapping - Permission Denied

Oct 14, 2010

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:

Code:
nfsserver:/myuser /home/myuser/mntpoint nfs4 rw,noauto,user 0 0

View 5 Replies


ADVERTISEMENT

Networking :: Nfs4 - Mount.nfs4: Access Denied By Server While Mounting

Dec 5, 2010

i'm trying to setup a nfs4 server and client. i followed the instructions in

[URL]

The SERVER is on 192.168.89.1 running Xubuntu 10.04, and the CLIENT is on 192.168.89.128 running Ubuntu 10.10. Firewall is disabled on both the server and the client for testing purposes. /etc/default/nfs-kernel-server on the SERVER:

Code:

# Number of servers to start up
RPCNFSDCOUNT=8
# Runtime priority of server (see nice(1))

[code]....

because we want UID/GUID to be mapped from names. This way, server and client do not need the users to share same UID/GUID. In that case,

1. Should i set those 2 fields to "no" and "yes" respectively instead?

2. Or else, how do i make sure that the uid on the server is mapped to something useful on the client instead of nobody and nogroup?

View 1 Replies View Related

Ubuntu Networking :: Nfsv4 - Mount.nfs4: Access Denied By Server While Mounting

Dec 2, 2010

i'm trying to setup a nfs4 server and client. i followed the instructions in [URL](nfsv4 quick start section) and [URL] The SERVER is on 192.168.89.1 running Xubuntu 10.04, and the CLIENT is on 192.168.89.128 running Ubuntu 10.10. Firewall is disabled on both the server and the client for testing purposes. /etc/default/nfs-kernel-server on the SERVER:

Code:

# Number of servers to start up
RPCNFSDCOUNT=8
# Runtime priority of server (see nice(1))

[code]....

On the [URL], i see some steps related to portmap on the "NFS Server" and "NFS Client" sections. Would i need those steps as well? There's also a list of steps on [URL] (linked from [URL]. Are those necessary?

EDIT: Running showmount on the client seemed to show that NOTHING is shared on the server:

Code:

$ showmount -a 192.168.89.1

All mount points on 192.168.89.1:

View 3 Replies View Related

Ubuntu :: Autofs(5): Direct Mapping NFS4 Share

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

Server :: NFS4 On Ubuntu Nobody / Nogroup User Mapping

Aug 26, 2010

So I have a few Ubuntu (Hardy till I can find a replacement for Xen) boxes that I am trying move from nfs3 to nfs4.I set it up according to this guide: URL...However I ran into trouble when the client see's all users/groups as nobody/nogroup.The current set up is that all the boxes have synced uids/gids and all users with root access can be trusted. I read some reports that said the only way this could be fixed was by using Kerberos. However I would really prefer not having to move to Kerberos as I have heard that it is very intensive to set up. So what I am looking for here is a solution other than sticking with nfs3 or putting everything on Kerberos. However if you think that Kerberos is easier to set up than I am giving it credit for then that could be useful to hear as well.

View 1 Replies View Related

Networking :: NFS Server - Permission Denied ?

May 12, 2010

I have a mount problem with a NFS server on Debian Lenny. No matter what I do, I cannot mount a directory from another Debian box on the same network.

The error the client gives:

The server reports:

But there it is, in my exports:

cat /etc/exports:

Doing a:

NOTE: this default has changed since nfs-utils version 1.0.x

Comes up empty (and it should not, right?)

There is no firewall inbetween. No access restrictions via the tcpwrappers.

View 8 Replies View Related

Networking :: NFS Share Permission Denied

Mar 23, 2010

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?

View 4 Replies View Related

Ubuntu Networking :: Permission Denied For Windows Mount

Mar 26, 2010

I have followed that many post about using a Windows mount, and still have an issue.

Using Ubuntu 8.04 to mount a shared on a Windows 2003 Server.

I have the fstab method with this line:

//server/xms /mnt/xms cifs defaults,uid=1000,gid=1000,credentials=/root/.smbcredentials 0 0

or

//server/xms /mnt/xms cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_ mode=0777 0 0

Both work when doing a mount /mnt/xms command. I can ls the directory on the windows share. I can cat files from the windows share.

If I touch or mkdir in the windows share I get "Permission denied"

View 2 Replies View Related

Networking :: NFS Server Mount - Permission Denied

May 2, 2010

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.

View 4 Replies View Related

Networking :: SSH - SCP Permission Denied (File Not Exist)

Oct 13, 2009

using a terminal
logged into userMan remotely

[code]
scp /file.txt xxx.xxx.xx:/home/userMan/
[code]

Is the syntax above correct?
I'm trying to copy /file.txt from local machine, to server with userMan
error: /file.txt doesn't exist

View 8 Replies View Related

Debian Configuration :: NFS Shares In Fstab - Error: Mount.nfs4: Access Denied By Server While Mounting (null)

Feb 2, 2010

I run a mediaserver on Archlinux, working perfectly (or almost). I have set up NFS v3 and that worked for me on these clients:

- Debian Lenny
- Archlinux 64bit

Now I've upgraded my Lenny-box to squeeze and I see that 2 of my 3 shared folders (tdone and twatch) are mounted like they should and the third one (media) doesn't come up. A 'mount -a' as root gives this error: mount.nfs4: access denied by server while mounting (null) My relevant fstab-lines:

[Code]....

how I can go about debugging this?

View 1 Replies View Related

Ubuntu Networking :: X11vnc - Permission Denied (publickey - Password)

Sep 22, 2010

I want to access my desktop from my laptop over the internet, after a while I found this [URL] so I followed the instructions "Access your PC over the internet" and "Logging in from another Ubuntu PC". Everything goes well until I try to run the shell script and get this: laptopuser@123.456.7.890's password:

I tried my luck with the passphrase associated with the rsa key, with the password of the laptopuser@laptop and with the password of the desktopuser@desktop but I keep getting Permission Denied (publickey, password).

View 5 Replies View Related

Ubuntu Networking :: Mounting Samba Shared - Permission Denied

Dec 10, 2010

I have a shared directory on another machine but I can't get it to mount as a samba share. The permission denied doesn't say where/which permission is denied. Is it on the remote on on the local machine? The remote has sharing enabled for the shareddocs directory and after I have mkdir'ed the local mount point I open it's permissions too. The verbose response from mount.cfis looks like this:

mount.cifs kernel mount options: unc=//192.168.1.102shareddocs,domain=WORKGROUP,ver=1,rw ,username=clive,,,,,,,,,,,ip=192.168.1.102,pass=** ******
mount error(13): Permission denied
Refer to the mount.cifs( manual page (e.g. man mount.cifs)

The man page does not have a list of error codes.

View 4 Replies View Related

Fedora Networking :: Ping: Sendto Permission Denied

Jul 22, 2010

I run a small home network with a wireless network using Apple airport wireless router. I have two macs and one Linux box (Fedora 13). Everything worked until about a week ago. Now the two macs can communicate with each other, and one of the macs can communicate with the Linux box, but the other can't, which is a bummer because it is a print server.

Pinging from the mac to the linux box gives the error message:

ping: sendto permission denied

Ping from the Linux box to the mac just hangs:

[/home/pjs] # ping 10.0.1.5
PING 10.0.1.5 (10.0.1.5) 56(84) bytes of data.

Firewalls on both boxes have been disabled. The Mac was running Little Snitch, but it has been uninstalled.

I have looked for messages from /var/log/message using tail -f and there are none when I ping either way.

ifconfig and /etc hosts, hosts.allow and hosts.deny look normal.

View 2 Replies View Related

Fedora Networking :: Ssh Error Message - Permission Denied

Feb 8, 2011

I've just set up keys using

[Code]...

View 5 Replies View Related

Fedora Networking :: Permission Denied When Sending Packet Using DITG?

Mar 14, 2011

I'm implementing static IPv6 address on two Fedora 13 installed hosts. These two computers are connected using a switch between them and I use D-ITG to generate traffic in the network.I need to send packet from host1 to host2 using this command and I got permission denied

Code:
#./ITGSend -a 2001:db8:c003:111e::3 -T UDP -x recv_log_file -t 30000 -c 32
Connect error in createTransportChan(): Permission denied

[code]....

View 1 Replies View Related

CentOS 5 Networking :: Error: Unable To Create Socket - Permission Denied

May 21, 2009

I have a cgi script that tries to get the IP address of a domain. the Domain is defined in Bind, yet it can not resolve it. I put the domain in the host file and it then gives a Error: unable to create socket - Permission denied

I figure I have to do some code changes to the script but here I would like an explaination as to the error I am getting.

View 1 Replies View Related

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.

View 1 Replies View Related

Ubuntu Networking :: Unable To NFS Share "permission Denied"?

Nov 9, 2010

I have a Acer Altos EasyStore NAS on which I have enabled an NFS share for a specific IP address. The EasyStore then shows me the NFS path as: Mount path: /nas/NASDisk-00004/media

When I try mounting the share from the machine at the allowed IP address it appears to mount OK, but when I try to view the directory using 'ls' I get 'ls: cannot open directory /nfs: Permission Denied'. the /nfs folder where I'm trying to mount the NFS share shows up in ls as belonging to a group called 11587 (everything else is shown as root). I have no control over the group ID on the NAS as it's just an appliance. How can I gain access to the shared folders?

View 1 Replies View Related

Ubuntu :: SUID And 'permission Denied'?

Feb 3, 2010

I have just installed 9.10 netbook remix onto my Eeepc 901. I was previously using 9.4 Rather than clicking on shutdown icons, or going through shutdown menus, I added a keyboard shortcut to run a shell script containing the following code:

Code:
#!/bin/bash
init 0
because init needs to be run as root to have the correct permissions, I set the owner and group to be root , ran chmod 711, then chmod u+s to prevent anyone altering the script, and to allow anyone to execute it with root privelidges Since updateing to 9.10 netbook remix, I have been unable to get this to work. have applied the above changes but get a "/bin/bash: /usr/bin/shutdownscript: permission denied" error when I try to run my shutdown script from the terminal (nothing happens when I press the key combination asigned to the keyboard shortcut). If I run the shutdown script with sudo then it neatly shuts down. ls reveals the following permissions:-rws--s--x 1 root root

So it appears as if SUID and SGID are both set, and the owner/group are correct, and the script works, and yet it doesn't have the permissions to work. I installed 9.4 long ago enough that I can't remember if I had to do anything else to get it working, or has something changed between 9.4 and 9.10?

View 3 Replies View Related

Ubuntu :: Bash: Permission Denied

Mar 27, 2010

I tried to execute the following command: $ ./eval_online_wiki.ml -db_user aa -db_pass bb -db_name cc It returned as follows: bash: ./eval_online_wiki.ml: Permission denied What does this mean? How to solve the problem? Actually, I was following a README, and it says "$ ./eval_online_wiki -db_user <username> -db_pass <pwd> -db_name <db_name>"

View 2 Replies View Related

Ubuntu :: Opera: Permission Denied?

Aug 19, 2010

Forum.Ref:Ubuntu 10.4 Lucid LynxFluxboxOpera 10.61Has anyone a clue how I can solve following (minor but annoying) problem?It takes a relative long time (a few seconds) as normal user before Opera starts in my fluxbox environment. I expected a quicker startup time.Also because when I start opera as root the startup time is shorter.I started opera in a terminal. No messages when started as root with gksudoBut 5 lines of:open: Permission deniedwhen started as normal user. Startup succeeds after these messages.So I figured out that there is some kind of authorisation problem but have no clue how to find out which files opera tries to open and fails and what to do at this point.I searched for similar problems on this forum and also via google but could not find any real answers.

View 4 Replies View Related

Ubuntu :: SSH Public Key Permission Denied?

Sep 17, 2010

Currently I am having troubles getting my ssh key to work correctly. I have had a desktop crash which has been reformatted to use ubuntu. The key residing in id_rsa.pub has been copied over to the ssh server into the authorized keys of the given user. however When we try to login we get a "permission denied (public key, keyboard-interactive)" error. below is the debug option:

jv@ops-desktop:~/.ssh$ ssh -v jv@x.x.x.x
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *

[Code]....

View 5 Replies View Related

Ubuntu :: Error(13): Permission Denied

Dec 7, 2010

I have a shared directory on another machine but I can't get it to mount. The permission denied doesn't say where/which permission is denied. Is it on the remote on on the local machine? The remote has sharing enabled for the shareddocs directory and after I have mkdir'ed the local mount point I open it's permissions too.

The verbose response from mount.cfis looks like this:

mount.cifs kernel mount options: unc=//192.168.1.102shareddocs,domain=WORKGROUP,ver=1,rw ,username=clive,,,,,,,,,,,ip=192.168.1.102,pass=** ******
mount error(13): Permission denied
Refer to the mount.cifs( manual page (e.g. man mount.cifs) The man page does not have a list of error codes.

View 3 Replies View Related

Ubuntu :: Permission Denied When Copy To Usb?

Jan 3, 2011

Im running Ubuntu 10.10 on my hp mini 110 netbook, have been for since i upgraded from 10.04. The problem Im having all of a sudden is when I try and copy anything from internal file system, to anything external [phone, card reader, usb hardrive] I get a pop up that says Error opening file '/media/disk/<filename>': Permission denied

Should be a quick fix i would think, what you guys got ???

View 2 Replies View Related

Ubuntu :: Permission Denied When Using CP Command

Apr 23, 2011

I've done a fresh install of Ubuntu 9.04 and tried to create a folder using the File Brower went to my user account and proceeded to create a directory. Then when trying to cp a file to this new directory I get permission denied. I checked the directory permissions and discovered that its owner was root not the user that I was signed in as.

So I had no choice but to enable the root account so I could copy the file I wanted. Why could I not have copied the file using the user that I was signed/logged int as without resorting to changing users to root. I hope that its not a bug of some kind or maybe I did something weird during the install. I would like to disable the root account again.

View 7 Replies View Related

Ubuntu :: BinSLASHbash: Permission Denied?

Jul 28, 2010

I'm getting this error when trying to check my software installation. On sudo make check it fails and says that:I'm logged in as root.SLASHbinSLASHbash: line 8: .SLASHtest-indexer: Permission denied

View 3 Replies View Related

Server :: Permission Denied With Ls -l Or Ls -la But Ls Ok

Mar 1, 2011

I have a user (let's call him John) who is not able to list contents of several 777 directories even though it appears he has permission to.

Case in point, as root:

Code:

Code:

If I use ls -a or strictly ls as john, I can list the contents of the nss directory:

Code:

That says to me that I have an issue listing permissions. Fine, I don't really need john to be able to list permissions. I want him to have rwx access to /media/nss/ENG which as you can see from my listing as root shouldn't be a problem since the perms on that dir are 777.

I am able to CD into the ENG directory or any other directory or subdirectory in /media/nss that has equivalent 777 perms, but once in the directories I can't list the contents:

Code:

I can get anywhere and do anything I want under the media/nss folder as john, except listing files. I even tried using an ACL i.e.

Code:

Why this isn't working?

View 8 Replies View Related

Server :: /usr/bin/gcc: Permission Denied?

Apr 12, 2011

I am trying to give an SSH user on my server permission to compile C exploit with gcc, and I have had no luck. Every time i try to run gcc i get: "sh: /usr/bin/gcc: Permission denied. Has anyone else had this problem with this ?

View 2 Replies View Related

Software :: ./a.out - Permission Denied ?

Jul 17, 2009

I compiled a hello-world code under /media/ext3-datadisk/summary/prog

where ext3-datadisk is on an external drive.

But I cannot run it.

Quote:

I am not bashing CentOS 5.2, but I don't have such problem with ubuntu 8.04.

View 5 Replies View Related







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