Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm mounting my NAS with this line in fstab

// /mnt/net/synonas/syno.1 cifs credentials=/home/rasp/.smbcredentials.synonas,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

I can create, delete, copy files of any size, but whenever I try to modify a newly created one I get a permission denied. Files mounted before are ok since they're mounted with 0777.

I think it has to do with my umask : 0022, the ownership is somehow given to 'users' after creation, so I cannot modify it (rw-r--r--, and I'm logged as 'rasp' not 'users'). What troubles me is that I can still delete any file... Any help would be appreciated !

share|improve this question
did you tried gid=rasp and forcegid as options? – patricks Apr 30 '12 at 12:35
tried the uid version and it worked liked a charm, thank's :) – r---------k May 2 '12 at 1:14

You must log in to answer this question.

Browse other questions tagged .