Fix permission errors on CIFS mounted shares / NFS

By neokrates, written on November 18, 2011

howto

Rate it
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
Ad
Poll
  • Trend: what general purpose computer language will dominate IT industry in the next decade?

    • Java (39%, 11 Votes)
    • C/C++ (11%, 3 Votes)
    • Other (11%, 3 Votes)
    • Python (7%, 2 Votes)
    • C# (4%, 1 Votes)
    • Basic (0%, 0 Votes)
    • PHP (0%, 0 Votes)
    • Ruby (0%, 0 Votes)
    • Scala (0%, 0 Votes)

    Total Voters: 28

    Vote

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext
Most popular search terms:

I had this problem when I tried to use subversion on CIFS mounted NFS. I often got svn: Can't open file '.svn/myfile.tmp': Permission denied or svn: Can't create directory ... kind of error. After I used nounix the problem seems to be gone.

[!!] nounix: Disable the CIFS Unix Extensions for this mount. This can be useful in order to turn off multiple settings at once. This includes POSIX acls, POSIX locks, POSIX paths, symlink support and retrieving uids/gids/mode from the server. This can also be useful to work around a bug in a server that supports Unix Extensions.

Works for:

[v] newer Debian, Ubuntu, CentOS distros.
[v] Linux distros with CIFS support


> mount -t cifs //my.host/mydir  -o rw,nounix,user=,password= /mnt/samba 
 
Does that help to solve your problem?
VN:F [1.8.5_1061]
Rating: 0 (from 2 votes)
1 votes 'YES'  1 votes 'NO'

LEARN MORE (amazon bookstore)

TAGS

RELATED
Pages
Posts
    nope :(

SOCIAL
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • BlinkList
  • Blogosphere News
  • E-mail this story to a friend!
  • Furl
  • LinkArena
  • Live
  • MisterWong
  • Print this article!
  • StumbleUpon
  • Technorati
  • Webnews.de
  • YahooMyWeb

INCOMING SEARCH TERMS


Leave a Reply