LinuxQuestions.org
Review your favorite Linux distribution.
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-20-2011, 07:14 PM   #1
hunaNW
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
permissions problem with remote cifs mount


I have successfully mounted a Windows share using cifs:

[root@localhost ~]# mount.cifs //192.168.1.103/bigmamaBU /mnt/bigmamaBU

-o username=me,password=mypswd,noperm,uid=dougb

dougb is my uid on the Red Hat linux server.

Then when I try to browse the directory I get the following message:

[root@localhost ~]# ls /mnt/bigmamaBU
ls: reading directory /mnt/bigmamaBU: Permission denied


When I look at directory permissions they appear to be OK:

[root@localhost ~]# ls -l /mnt
total 4
drwxrwxrwx 1 dougb root 0 Oct 20 14:19 bigmamaBU
drwxrwxrwx 2 root root 4096 Sep 15 2009 usbdrive


Why am I unable to browse the directory or copy a file to it?
 
Old 10-21-2011, 09:55 AM   #2
ostrosky.jeremiah
LQ Newbie
 
Registered: Aug 2011
Location: Pittsburgh, Pa
Distribution: Centos 6.4
Posts: 29

Rep: Reputation: Disabled
I think you can add something like the following to your fstab (back it up first) and go from there. I was having some similar issues a while ago and I think it's something to do with permissions issues between linux and ntfs drives.

//192.168.1.103/bigmamaBU /mnt/bigmamaBU cifs iocharset=utf8,dir_mode=0775,gid=1234 0 0


Here's my entry from fstab, just note I'm using the drives serial instead of network path (in your case)

UUID=DC145AE1145ABE68 /media/500GB ntfs-3g uid=500,gid=500,100,umask=000 0 0
 
  


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
cifs mount remote shared folder ted_chou12 Linux - Networking 16 04-15-2011 09:15 PM
manual mount cifs works but srcipt mount cifs has mount error (13): Permission denied CADIT Linux - Newbie 6 11-20-2009 02:48 PM
File Permissions Masking with Mount.CIFS ThePowerTool Linux - Newbie 4 06-02-2008 06:12 PM

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

All times are GMT -5. The time now is 10:22 PM.

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