Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-07-2007, 04:42 PM   #1
LQ Newbie
Registered: Sep 2007
Posts: 4

Rep: Reputation: 0
CIFS/fstab New files auto write-protected


I am running OpenSuse 10.2 in virtual PC 2007. In my fstab, I have the following line to access a share on my host machine (windows XP pro):

// /home/john/marsbox cifs credentials=/home/john/.pwdfile,auto,file_mode=0777,dir_mode=0777,rw 0 0

This results in a nicely mounted share, to which I can read and write. The problem is howver, that every file I make is automatically write-protected! Needless to say, any programs that make a new file on the disk and want to write to it, will bail.

What am I doing wrong? How do I prevent new files created from linux to be write protected? In windows, I have the access rights set to allow 'everyone' full control (don't worry, F&PS is blocked over the firewall).


Last edited by johnnie_1983; 09-07-2007 at 08:17 PM.
Old 09-08-2007, 05:50 AM   #2
Senior Member
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Have no idea, so I shouldn't really answer but who owns /home/john/marsbox? Might try fidling with this.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora 7 and using cifs in fstab? powellbob424 Linux - General 11 06-16-2007 08:20 PM
cifs mount in fstab help nitrohuffer2001 Linux - Software 1 04-22-2007 05:09 PM
Write Protected Documents bussandtech General 2 05-11-2006 12:02 PM
"block device /dev/sda2 is write-protected, mounting read-only" - fstab problem blanks77 Linux - Hardware 1 04-28-2006 06:09 PM
Gahhhh! Fedora core 2's main files are write protected (4nd th!5 n00b n33d5 h3lp) charlie_man Fedora 1 10-30-2004 03:33 AM > Forums > Linux Forums > Linux - Newbie

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

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