Hi folks,
We use a Windows Server 2003 as our domain controller however we store the profile directories for the users on a NAS drive for backup purposes (it's a QNAP NAS).
We have other shared folders on this NAS which I have mounted just fine using CIFS using lines like this one in the fstab...
//10.0.0.10/Docs /mnt/Docs cifs credentials=/home/steven/.
creds,uid=
steven,gid
=steven 0 0
The .creds is a file only readable by the 'steven' unix user and contains my user/pass like so...
username=MY-DOMAIN\steven
password=password
These mount just fine and I can see stuff made by me in the past is user 300049 and new stuff I make is too, so far so good. Everything seems to be group 300001 not sure if that matters.
If I mount the shared folder where we keep the profiles then I can read/write in that directory the same way. But when it comes to a directory that represents a profile like /mnt/Profiles/steven then I can't even list the contents.
It's because the mode that folder is set to doesn't allow reading, but it is owned by 300049. Make a directory along side it called 'steven2' and you can do what you like with it. Here is how they look side by side.
drwx-wx-wx 23 30049 30001 0 2007-11-30 11:06 steven
drwxrwxrwx 2 30049 30001 0 2008-07-17 13:34 steven2
I'm wondering if I'm missing some special secondary login to be able to access that directory without modifying the NAS drive. I clearly am user 300049 as I log in as such and make files under that name, but if I am 300049 in that connect, why can I not read my own folder (all I get is permission denied)?
Any ideas would be greatly appreciated.
Steven
Start Free Trial