Having file perm issues...

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

scobar

Member
Nov 24, 2013
112
19
18
I am running OI and napp-it. I had "gotten my hands dirty" on my last install. The long and the short of it is I broke some things, so exported my pools and then popped in another drive I did an install on. I had my perms set the way I wanted on my SMB shares. When I imported my pool, I had gotten an error on one of the folders, but was able to browse to the file via smb.

Fast forward to today, some of these files I am attempting to access I am getting errors. I can cruse via SMB but cannot copy or execute them. I had removed the old user from the last install on the shares and then recreated and applied changes. No dice. I've added everyone via folder and SMB acl with full rights, nothing.

I've done a chown root via cli. It finishes, and then if I try to do a chmod 777, I am told I am not the owner.

Below is the output of ls -l /storage_3tb/master



root@san:/storage_3tb# ls -l /storage_3tb/master
total 95
drwxrwxrwx+ 5 files staff 6 2014-02-01 10:25 $$files from iscsi
drwxrwxrwx+ 9 files staff 9 2014-02-01 11:27 $d
drwxrwxrwx+ 5 files staff 9 2014-02-01 09:51 $sort
drwxrwxrwx+ 7 files staff 10 2014-02-02 00:03 BTC
drwxrwxrwx+ 7 files staff 7 2014-02-01 21:17 e$
drwxrwxrwx+ 7 files staff 10 2013-12-02 18:31 laptop
drwxrwxrwx+ 4 files staff 4 2014-02-02 00:31 vm
root@san:/storage_3tb#


I can write files/folders to /storage_3tb/master, but the old files I cannot do anything other than see them. I can copy via scp, but it is terribly slow. I have prob 15-20tb of data here I need to copy. At this point, I am puzzled.

Help?
 

scobar

Member
Nov 24, 2013
112
19
18
Ok, I had hopped on the openindana IRC channel, it appears it was something with the ACL's.

I ran /usr/bin/chmod -R A=owner@:rwxpdDaARWcCos:df:allow,everyone@:xrcarR:df:allow /storage_3tb/master/
I am able to copy my files :)