LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-13-2006, 06:12 AM   #1
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Rep: Reputation: 15
Angry access denied while mounting through smbfs


hi everyone,
i tried to mount a windowsxp machine on my linux machine, one machine worked fine(i could access) but when i try to mount another system i get access deined though the passwd is correct.
i get this out put if i execute: ls -al

drwxr-xr-x 4 root root 4096 Oct 13 18:50 .
drwxr-xr-x 26 root root 4096 Oct 14 15:25 ..
?--------- ? ? ? ? ? test
drwxr-xr-x 2 root root 4096 Oct 13 18:50 test1

and when i type ls ./test it gives permission denied

wht could the problem??

Last edited by gsr_kashyap; 10-13-2006 at 06:13 AM.
 
Old 10-13-2006, 11:12 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
The directories aren't owned by the user or the group smbfs is using..

It is recommended that the directories are mode 770 and owned by at least a common group for all users, if there is no need to keep any of them protected.
 
Old 10-16-2006, 04:13 AM   #3
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Original Poster
Rep: Reputation: 15
hi peter, actually i am trying to mount a windows partition on my linux machine and after mounting to my local machine(linux) when i try to change the permissions it gives permission denied error. for another machine(windows) i am able to succesfully mount the windows machine and can view the folders!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
access denied when mounting with execl... but works normally in shell vimes Programming 2 08-29-2006 08:55 AM
Mounting an smbfs using fstab RAdams Linux - Newbie 14 07-11-2006 12:20 AM
Touble mounting smbfs cmfarley19 Ubuntu 8 12-14-2005 07:43 PM
Mounting W2K Shares failed: Access denied xunil321 Linux - Networking 8 11-02-2004 10:10 AM
smbfs mounting problem naveentpr Linux - Software 1 12-25-2003 12:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration