SOLVED windows share, cant see files

StanZ

Dabbler
Joined
Feb 9, 2016
Messages
25
I have a windows share, I changed some permissions and now files are invisible.
share jane (so is pool?)
Does any one have an idea of how to get back to them or I lost them for good?
 

Attachments

  • Screenshot (1).png
    Screenshot (1).png
    167 KB · Views: 984
  • Screenshot (2).png
    Screenshot (2).png
    148 KB · Views: 791
  • Screenshot (3).png
    Screenshot (3).png
    137.8 KB · Views: 679

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
What are the permissions on the share? Also, what account are you using to attach to the share on the Windows side?
 

StanZ

Dabbler
Joined
Feb 9, 2016
Messages
25
nas has a AD installed and at first it was AD share( shared for certain AD users), then had some issues with nas (which was resolved by restart i think) but in the panic time needed to access the share and i changed settings (dont remember which) and now i see that the space is taken but i cant see the files.
 

Attachments

  • Screenshot (4).png
    Screenshot (4).png
    151.8 KB · Views: 820

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Are the files still there if you look at the dataset in the Shell using ls? What's the output of ls -l /mnt/new/Jane?
 

StanZ

Dabbler
Joined
Feb 9, 2016
Messages
25
here is the output

look really good i can see all the files.. now just get the permissions back to them would be great
 

Attachments

  • Screenshot (5).png
    Screenshot (5).png
    166.7 KB · Views: 755
  • Screenshot (7).png
    Screenshot (7).png
    179.5 KB · Views: 1,030
Last edited:

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Looks like a straightforward mismatch between the ACL and the Unix permissions bits. Your permissions allow Everyone FULL CONTROL, but the Unix permissions bits have no permissions for Everyone. Try chmod -R o+rwx /mnt/new/Jane inside the Shell. You may need to restart the SMB service afterwards.
 

StanZ

Dabbler
Joined
Feb 9, 2016
Messages
25
Code:
chmod: /mnt/new/Jane/p[ic123/Halloween 2010/DSC02072.jpg: Operation not permitted
chmod: /mnt/new/Jane/p[ic123/Halloween 2010/IMG_5200.JPG: Operation not permitted


and so on
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
You need to use quotes as you have spaces in the file name....
 

StanZ

Dabbler
Joined
Feb 9, 2016
Messages
25
thank you guys..
that how I got back to the files
created new share and edited the file ACL

SOLVED
 

Attachments

  • 1.jpg
    1.jpg
    188.1 KB · Views: 1,111
  • 2.jpg
    2.jpg
    188.2 KB · Views: 1,010
  • 3.jpg
    3.jpg
    189.8 KB · Views: 1,001
  • 4.jpg
    4.jpg
    183.6 KB · Views: 1,032

Aotearoaboi

Dabbler
Joined
Feb 17, 2023
Messages
45
You need to use quotes as you have spaces in the file name....

Just jumping on this old thread cause I'm having a similar problem. I have spaces in the name of one of my drives and it's causing all sorts of problems.

I read to use underscore In place of space. Where should I include the ""
 

jeffjr231

Cadet
Joined
Apr 16, 2023
Messages
1
Just jumping on this old thread cause I'm having a similar problem. I have spaces in the name of one of my drives and it's causing all sorts of problems.

I read to use underscore In place of space. Where should I include the ""
quite late and likely you have figured this out alrieady, however the "" goes around the full path, so "/mnt/pool/share 1/".
 
Top