D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320 => Topic started by: jaaf on August 31, 2014, 08:47:29 AM

Title: DNS320 share appears readwrite in nautilus's permissions but is not writable
Post by: jaaf on August 31, 2014, 08:47:29 AM
Hi
After a great deal of reading I could achieve to have my shares on the NAS mounted automatically at boot in my Gentoo - gnome 3 box.

Here is the line I use in the /etc/fstab to get it:
Code: [Select]
//192.168.1.15/Volume_1/jaaf-RootDir  /media/NAS  cifs auto,x-systemd.automount,credentials=/home/jaaf/.NASCredentials,uid=jaaf,gid=jaaf  0 0
With this line I have the Volume_1/jaaf-RootDir (rw for server user jaaf only in the nas) automatically mounted at boot.
Nevertheless, despite the fact that nautilus tells me that everything is "can read, can write " for owner "Me", group "jaaf" and others, I cannot write or delete anything.

Notice that the username is the same for linux and for the share in the nas (jaaf)

/home/jaaf/.NASCredential contains:
Quote
username=jaaf
password={the password of jaaf in the nas)

How could I get the read write ability ?
Title: Re: DNS320 share appears readwrite in nautilus's permissions but is not writable
Post by: b_jammin666 on March 13, 2015, 10:44:06 AM
Hi jaaf,

If you haven't already figured this out, simply change uid and gid to 1000 to allow read write access.

My full fstab options are:
defaults,_netdev,username=<username>,password=<password>,rw,uid=1000,gid=1000

Ben