Hey everyone,
I recently set up a Buffalo Terrastation TS3420R and am having problems with permissions while using a linux machine. The NAS is configured and mounted to my machine but there is a problem when I try to use it. It seems to be there is some type of caching issue, if i cd into the directory and run a ls command it will periodically return
ls: cannot access trashbox: No such file or directory
ls: cannot access Network Trash Folder: No such file or directory
ls: cannot access Temporary Items: No such file or directory
If i cd into those directories and try to ls again then it works fine. I am able to create files and folders to the NAS but when I try to build one our applications it messes up the permissions
temporarily. For example, after trying to build our application and I run ls -l it will return
ls: cannot access cmake: No such file or directory
ls: cannot access common: No such file or directory
ls: cannot access docs: No such file or directory
ls: cannot access host: No such file or directory
ls: cannot access prebuilt: No such file or directory
ls: cannot access target: No such file or directory
ls: cannot access thirdparty: No such file or directory
ls: cannot access aie_vectorizer: No such file or directory
total 8
d?
? ? ? ? ? aie_vectorizer
drwxr-xr-x. 4 root root 66 Mar 1 12:38 build
lrwxrwxrwx. 1 dylan domain users 15 Feb 28 11:54 builder -> scripts/builder
d?
? ? ? ? ? cmake
d?
? ? ? ? ? common
d?
? ? ? ? ? docs
d?
? ? ? ? ? host
lrwxrwxrwx. 1 dylan domain users 15 Feb 28 11:54 package -> scripts/package
d?
? ? ? ? ? prebuilt
drwxr-xr-x. 2 dylan domain users 4096 Feb 28 11:54 scripts
drwxr-xr-x. 5 root root 59 Feb 28 12:07 staging
d?
? ? ? ? ? target
d?
? ? ? ? ? thirdparty
-rwxr-xr-x. 1 dylan domain users 731 Feb 28 11:54 vsimodules.txt
and if I run ls -l again right after it returns back to normal:
total 28
drwxrwsrwx. 3 707 707 53 Mar 1 11:54 aie_vectorizer
drwxr-xr-x. 4 root root 66 Mar 1 12:38 build
lrwxrwxrwx. 1 dylan domain users 15 Feb 28 11:54 builder -> scripts/builder
drwxr-xr-x. 2 dylan domain users 4096 Feb 28 11:54 cmake
drwxr-xr-x. 9 dylan domain users 4096 Feb 28 11:54 common
drwxr-xr-x. 2 dylan domain users 78 Feb 28 11:54 docs
drwxr-xr-x. 16 dylan domain users 4096 Feb 28 11:54 host
lrwxrwxrwx. 1 dylan domain users 15 Feb 28 11:54 package -> scripts/package
drwxr-xr-x. 5 dylan domain users 83 Feb 28 11:54 prebuilt
drwxr-xr-x. 2 dylan domain users 4096 Feb 28 11:54 scripts
drwxr-xr-x. 5 root root 59 Feb 28 12:07 staging
drwxr-xr-x. 9 dylan domain users 4096 Feb 28 11:54 target
drwxr-xr-x. 8 dylan domain users 4096 Feb 28 11:54 thirdparty
-rwxr-xr-x. 1 dylan domain users 731 Feb 28 11:54 vsimodules.txt
Firmware is updated and currently has nfs and smb enabled. I tried restarting the NAS, using different protocols and manually mounting it to a different folder but nothing has helped the problem.
Any suggestions on how to fix this issue? Very much appreciated