Ubuntu Forums (Ubuntu Linux Support)

Ubuntu Server => Application Support => Topic started by: y0gie007 on March 12, 2012, 08:57:08 PM

Title: Mount NAS ubuntu 10.10 server for tomcat6 and apache2
Post by: y0gie007 on March 12, 2012, 08:57:08 PM
Hi

IS there any possibility to mount NAS on Linux Server 10.10 permitting apache2 (www-data user) and tomcat6 (tomcat6 user) to have all possible permissions on NAS drive ? Currently i've succeded only for tomcat6 to have all (at least rw) permissions. How do i add www-data ?

My latest attempt:
mount -t cifs-o username=xxx,password=yyy,rw,uid=tomcat6,gid=tomcat6 //192.168.1.100/nas_share /usr/local/fedora/data 

Any help appreciated.