LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

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


Hello!

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):

//192.168.0.1/shared /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).

Thanks!

Last edited by johnnie_1983; 09-07-2007 at 09:17 PM.
 
Old 09-08-2007, 06:50 AM   #2
lugoteehalt
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.
 
  


Reply


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 09:20 PM
cifs mount in fstab help nitrohuffer2001 Linux - Software 1 04-22-2007 06:09 PM
Write Protected Documents bussandtech General 2 05-11-2006 01:02 PM
"block device /dev/sda2 is write-protected, mounting read-only" - fstab problem blanks77 Linux - Hardware 1 04-28-2006 07: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 04:33 AM


All times are GMT -5. The time now is 09:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration