Can't save changes on mounted ext3 drive

Hi,

i have mounted an ext3 partition from a NAS to my SuSe system.

mount -t cifs -o user=root,password=xxxx,uid=0 //192.168.2.2/Volume_1 /home/yyy/MediaDNS_Volume_1/

where uid = root id on NAS system

cat /proc/mounts

//192.168.2.2/Volume_1 /home/yyy/MediaDNS_Volume_1 cifs rw,mand,unc=\\192.168.2.2\Volume_1,username=root,uid=0,posixpaths,acl,rsize=16384,wsize=57344 0 0

I have also chmod’ed the specific folders and files on the nas to 777.

When I now try to save changes from an editor like KEdit or Kate, I get the messages ‘No rights’

I can create a new file from Dolphin, but when try to save changes in the new one I get the same error…

Hi. a couple of comments:
mount -t cifs -o user=root,password=xxxx,uid=0 //192.168.2.2/Volume_1 /home/yyy/MediaDNS_Volume_1/

  • user=root,password=xxxx are the credentials on the NAS, OK?
  • uid is the uid that you would like to have on the client, so the server uid is not used here.

Have a look at the syntax on this tutorial:
Samba: HowTo Mount a CIFS Network Share [AKA Map Network Drive] in openSUSE 10 & 11 plus FAQs

The mount command is more like this:

mount -t cifs -o username=NAS_user,password=NAS_password,uid=yyy,gid=users
//192.168.2.2/Volume_1 /home/yyy/MediaDNS_Volume_1/

On Sun April 26 2009 12:26 pm, rpmcmurphy wrote:

>
> Hi,
>
> i have mounted an ext3 partition from a NAS to my SuSe system.
>
>
> Code:
> --------------------
> mount -t cifs -o user=root,password=xxxx,uid=0 //192.168.2.2/Volume_1
> /home/yyy/MediaDNS_Volume_1/
>
> --------------------
>
> where uid = root id on NAS system
>
> cat /proc/mounts
>
> Code:
> --------------------
> //192.168.2.2/Volume_1 /home/yyy/MediaDNS_Volume_1 cifs
>
rw,mand,unc=\192.168.2.2\Volume_1,username=root,uid=0,posixpaths,acl,rsize=16384,wsize=57344
> 0 0
> --------------------
>
>
> I have also chmod’ed the specific folders and files on the nas to 777.
>
> When I now try to save changes from an editor like KEdit or Kate, I get
> the messages ‘No rights’
>
> I can create a new file from Dolphin, but when try to save changes in
> the new one I get the same error…
>
rpmcmurphy;

What are the nix permissions on the mount point?


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

mount -t cifs ........

When I read the man page, -t cifs means that the fs type is cifs. But the title reads “ext3”.

(I already changed “ext3 drive” into “ext3 partition” in my mind).

I read this thread because the ext3, now it is not about ext3, but about SAMBA of which I have almost no knowledge :frowning:

yes

I did so, and also set the rights of the mountpoint to 777.

Still no change…

I just noticed that when I open a file from the samba share with Dolphin (smb://…) without beeing mounted, I can edit it, its saved to some temporary file and if I close the editor it asks me if I want to upload the file. CLicking yes it does the upload without an error…

You’re using the correct mount command; except it’s most unusual to try to log onto the NAS as root. I suspect it has something to do with the rights as set up in the NAS.

Its weird. The NAS has set all files on it to user ‘nobody’ and has set the group and rights to 777. Everybody should be able to change, create whatever…

I guess it has something to do with the NAS itself. I was able to open, change and save files from a MAC. Suddenly if I wanted to save changes I was asked for a password… I restarted the NAS and it was fine again.

So it need to be a problem with the NAS.

What’s the make and model of the NAS and is there a hyperlink to the site?

D-Link DNS-323

modded with funplug.

DNS323 fun plug mod

I was fixing a DNS-313 the other day – You can set those to guest access (windows like) or to specific credentials. Try without using root-only access. maybe you have to roll back the funplug or get really deep into it.