jeudi 19 mars 2015

Unable to overwrite some file formats via Share Drive


I have some files on a SMB-mounted shared drive. Filesystem is NTFS.


Case 1: PSD (Photoshop file)


I edited the Photoshop file in Photoshop CS5.5 (also tried Photoshop CC), select File > Save. For the first time, it shows:



Write access is not granted



The file is removed from the folder (it's gone!!!). Then I select Save again, Photoshop asks me where to save the file. I select the original folder and the save action is completed successfully. On the 3rd Save, the "Write access" error is prompted again (and the file is gone, again).


enter image description here




Case 2: TXT (Text File)


The file can be saved, edited successfully via TextEdit or Terminal (vi, touch, echo command, etc).




Case 3: PNG


I tried to edit and save the file in Preview. It said, the file is locked, and let me select "Save Anyway" or "Cancel". I select "Save Anyway", it said:



You don't have permission to save the file



enter image description here


enter image description here


What is the cause of the issue? In Terminal with ls -al command, it shows the permission is:



-wrx------@


and in the Permission section of the "Get Info" dialog, it said:



You have custom access



p.s. I'm using Yosemite OS X 10.10.2


p.s. A post suggested that it's the bug of SMB protocol; CIFS protocol will solve the issue. I tried, but the same issue persists.


If using SMB, the output of smbutil is as follow:



==================================================================================================
SHARE ATTRIBUTE TYPE VALUE
==================================================================================================
RS_Share
SERVER_NAME 192.168.200.128
USER_ID 502
SMB_NEGOTIATE AUTO_NEGOTIATE
SMB_VERSION SMB_3.0
SMB_SHARE_TYPE DISK
SIGNING_SUPPORTED TRUE
SIGNING_REQUIRED TRUE
EXTENDED_SECURITY_SUPPORTED TRUE
LARGE_FILE_SUPPORTED TRUE
FILE_IDS_SUPPORTED TRUE
DFS_SUPPORTED TRUE
FILE_LEASING_SUPPORTED TRUE
MULTI_CREDIT_SUPPORTED TRUE
DIR_LEASING_SUPPORTED TRUE
ENCRYPTION_SUPPORTED TRUE
SIGNING_ON TRUE

--------------------------------------------------------------------------------------------------


If using CIFS, the output of smbutil is as follow:



==================================================================================================
SHARE ATTRIBUTE TYPE VALUE
==================================================================================================
MY_Share
SERVER_NAME 192.168.200.128
USER_ID 502
SMB_NEGOTIATE SMBV_NEG_SMB1_ONLY
SMB_VERSION SMB_1
SMB_SHARE_TYPE UNKNOWN
SIGNING_SUPPORTED TRUE
SIGNING_REQUIRED TRUE
EXTENDED_SECURITY_SUPPORTED TRUE
LARGE_FILE_SUPPORTED TRUE
SIGNING_ON TRUE

--------------------------------------------------------------------------------------------------




Aucun commentaire:

Enregistrer un commentaire