File permissions

lrd


Joined
Oct 25, 2010
Messages
347
Reaction score
2
Points
18
Location
Las Vegas
Your Mac's Specs
2009 MacBook Pro 15" - 2013 iMac 3.4GHz quad-core i7, Fusion Drive, NVIDIA GeForce GTX 680MX
Before I migrated my macbook pro to my new iMac, I copied all my documents and downloads to a NAS...thought it would shorten the migration.

Problem is now I am trying some cleanup on the NAS and I can't delete some files. the permissions have two (unknown) users with r/w and a group "everyone", also with r/w. Yet when I try to delete the file I get "The operation can't be completed because you don't have permission to access some of the items".now what?

Thanks

I've noticed others as well...
 
OP
L

lrd


Joined
Oct 25, 2010
Messages
347
Reaction score
2
Points
18
Location
Las Vegas
Your Mac's Specs
2009 MacBook Pro 15" - 2013 iMac 3.4GHz quad-core i7, Fusion Drive, NVIDIA GeForce GTX 680MX
Did nothing. Admittedly, I'm not certain how to use it, but I selected both users, gave both full rights, and applied and it did nothing. The log showed it applied attributes (or at least attempted to) but there was no change and no error message. This really has me bothered.

Note I can't delete the files from either user account.
 
Joined
Sep 30, 2007
Messages
9,962
Reaction score
1,235
Points
113
Location
The Republic of Neptune
Your Mac's Specs
2019 iMac 27"; 2020 M1 MacBook Air; macOS up-to-date... always.
Did nothing. Admittedly, I'm not certain how to use it, but I selected both users, gave both full rights, and applied and it did nothing. The log showed it applied attributes (or at least attempted to) but there was no change and no error message. This really has me bothered.

Note I can't delete the files from either user account.

You did it wrong. Below is a screen cap of typical settings. The Owner should be you, with RW; Group is staff with R; Everyone set to R. You can't select "both" users. Only one or the other can be the owner. If you applied the settings first to one user, then changed the Owner to the other user and re-applied the changes, then all you did was change owners and locked out the first user beyond what basic rights that user account may have if it is a member of "staff", or otherwise has for "everyone".

So... re-run BatCHmod and make sure the settings match what's in the screen cap (with the "Owner" being your own admin user account). Also check the option to Clear ACLs so any underlying "bugginess" in the permissions get swept away.

CapturFiles.jpg
 
OP
L

lrd


Joined
Oct 25, 2010
Messages
347
Reaction score
2
Points
18
Location
Las Vegas
Your Mac's Specs
2009 MacBook Pro 15" - 2013 iMac 3.4GHz quad-core i7, Fusion Drive, NVIDIA GeForce GTX 680MX
I did that and it did nothing. OS X will not allow either user to delete a file, regardless of who I set as owner.

I received the following from the developer: "Well, I doubt BatChmod can help. On a NAS or any file server, permissions are controlled by the server and unless special permissions allow the connected user to change file permissions, no tool will allow you to change these. You must either find a way to connect the NAS directly via USB, FireWire or something (Possibly not even possible) or use the NAS's admin tools to change permissions on the folders somehow. Normally, when you copied things over you were connected with some sort of user/password... you may want to make sure you are using the same to transfer files back."
 
OP
L

lrd


Joined
Oct 25, 2010
Messages
347
Reaction score
2
Points
18
Location
Las Vegas
Your Mac's Specs
2009 MacBook Pro 15" - 2013 iMac 3.4GHz quad-core i7, Fusion Drive, NVIDIA GeForce GTX 680MX
OK, I tried it your way...now I'm not even allowed to open the folder!!!

Thanks :)
 
OP
L

lrd


Joined
Oct 25, 2010
Messages
347
Reaction score
2
Points
18
Location
Las Vegas
Your Mac's Specs
2009 MacBook Pro 15" - 2013 iMac 3.4GHz quad-core i7, Fusion Drive, NVIDIA GeForce GTX 680MX
So I checked "me" and every block on the form except clear xattrs and I could finally delete the file. M

More playing to make sure I can do what I want here.

Thanks!
 
Joined
Sep 30, 2007
Messages
9,962
Reaction score
1,235
Points
113
Location
The Republic of Neptune
Your Mac's Specs
2019 iMac 27"; 2020 M1 MacBook Air; macOS up-to-date... always.
So I checked "me" and every block on the form except clear xattrs and I could finally delete the file. M

More playing to make sure I can do what I want here.

Thanks!

Glad you sorted it out. I am just now noticing my screen cap was wrong and should have had the "X" attribute checked for "me". I'm actually not even sure why it wasn't.
 
OP
L

lrd


Joined
Oct 25, 2010
Messages
347
Reaction score
2
Points
18
Location
Las Vegas
Your Mac's Specs
2009 MacBook Pro 15" - 2013 iMac 3.4GHz quad-core i7, Fusion Drive, NVIDIA GeForce GTX 680MX
Actually I didn't. Each folder behaved differently and all badly. I finally gave up and moved everything off the NAS and back to the iMac. Then a quick application of batCHmod and everything is fine now. Thanks.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top