View previous topic :: View next topic |
Author |
Message |
anyc Tux's lil' helper
Joined: 31 May 2004 Posts: 119
|
Posted: Sun Sep 04, 2005 12:10 pm Post subject: Permission denied when open a remote mounted directory |
|
|
Hi,
when i want to "ls" a directory that i've mounted from a remote drive
i only get a permission denied error AS root!
It makes no difference if i mount a windowsshare over samba or
a directory over nfs. Always the same problem. That's pretty annoying.
A few weeks before it works without a problem so i guess
a software "update" could be the problem.
I also found several other threads with this, but no satisfying answer.
I hope someone could help!
Thanks a lot!
Mario |
|
Back to top |
|
|
Vulpes_Vulpes Apprentice
Joined: 10 Dec 2003 Posts: 264 Location: Amsterdam
|
Posted: Sun Sep 04, 2005 1:13 pm Post subject: |
|
|
Did you set the correct uid and gid in your fstab?
Example:
Quote: | \\192.168.0.1\public /mnt/lunix smbfs defaults,gid=100,uid=sijmen,credentials=/etc/samba/credentials,rw 0 0 |
You can put the username and password in the credential file wich is oc only readable by root. |
|
Back to top |
|
|
bigfunkymo Apprentice
Joined: 23 Jan 2004 Posts: 237
|
Posted: Sun Sep 04, 2005 1:21 pm Post subject: |
|
|
Permission denied when trying to mount a remote directory?
No means no, man!
have you tried emerging this? _________________ [No package... Grabbing a set.] |
|
Back to top |
|
|
aceFruchtsaft Guru
Joined: 16 May 2004 Posts: 438 Location: Vienna, Austria
|
Posted: Sun Sep 04, 2005 1:24 pm Post subject: |
|
|
In the default configuration, NFS maps root to user nobody unless you specify no_root_squasch in /etc/exports. So I wouldn't count on it that the effective uid on the remote system is actually root... |
|
Back to top |
|
|
anyc Tux's lil' helper
Joined: 31 May 2004 Posts: 119
|
Posted: Sun Sep 04, 2005 6:20 pm Post subject: |
|
|
I've tried the whole options like dmask,fmask,uid,gid, but nothing helps.
The windowsshare is open for everybody so it can't be a wrong password.
On my laptop this still works... strange... |
|
Back to top |
|
|
|