File renaming problem... autofs or nas setting?
Posted: Sun Jan 21, 2018 5:19 pm
Why can't I rename "file.txt" to "FILE.txt"???
I have been using "autofs" for a long while now, and with the following setting for smb/cifs I had full read/write permissions.
Then I decided to upgrade and migrate to new hard drives.
I set up every thing to the same settings before but then I no longer had write permissions.
I changed my "autofs" code to:
With this change I have what looks to be full read/write permissions, but when I try to rename a file from "file.txt" to "FILE.txt"
I get an error:
"The item could not be renamed. The name 'FILE.txt' is already used in this folder. Please use a different name."
I can rename the file to anything else.
But not rename to same except with some capitalizations!
I'd appreciate any help in fixing this problem!!!
I have done a direct samba connect via my file manager "smb://192.168.2.124/Music" and I have no issues with renaming.
I did have a similar issue a while back with deleting permissions:
viewtopic.php?f=29&t=3796
My nas is AS-604T ADM 3.0
Currently running Linux Mint 18.3
I have been using "autofs" for a long while now, and with the following setting for smb/cifs I had full read/write permissions.
Code: Select all
NasMusic -fstype=cifs,credentials=/home/somebody/.smbcredentials ://192.168.2.124/Music
I set up every thing to the same settings before but then I no longer had write permissions.
I changed my "autofs" code to:
Code: Select all
NasMusic -fstype=cifs,rw,file_mode=0777,dir_mode=0777,credentials=/home/somebody/.smbcredentials ://192.168.2.124/Music
I get an error:
"The item could not be renamed. The name 'FILE.txt' is already used in this folder. Please use a different name."
I can rename the file to anything else.
But not rename to same except with some capitalizations!
I'd appreciate any help in fixing this problem!!!
I have done a direct samba connect via my file manager "smb://192.168.2.124/Music" and I have no issues with renaming.
I did have a similar issue a while back with deleting permissions:
viewtopic.php?f=29&t=3796
My nas is AS-604T ADM 3.0
Currently running Linux Mint 18.3