Odd permissions on some files (Linux) any ideas?
Discussion
I seem to remember I have encountered this before, but don't remember what it was.
Some file permissions contain an 11th column with a "+" symbol.
Like this:
I checked attributes with lsattr and it's not that.
Executing "chmod 664" (or any other perms) just changes the permissions as expected, but doesn't remove the "+".
O/S is Debian 7.11, fs is ext4 on RAID, nothing special. App armor not enabled (neither selinux)
Any ideas?
Some file permissions contain an 11th column with a "+" symbol.
Like this:
-rw-rw-r-- 1 squeezeboxserver users 5741694 Jun 5 11:13 14_-_Something_So_Strong.mp3
-rw-rw-r--+ 1 squeezeboxserver users 8013283 Jun 5 11:12 15_-_Into_Temptation.mp3
I checked attributes with lsattr and it's not that.
Executing "chmod 664" (or any other perms) just changes the permissions as expected, but doesn't remove the "+".
O/S is Debian 7.11, fs is ext4 on RAID, nothing special. App armor not enabled (neither selinux)
Any ideas?
I ran getfacl on a file with the x and another without - there's definitely a difference in resulting output, but I can't see why there is a difference.
I guess I can now run setfacl to change it, however I'm curious to know how this changed (these were files download from Amazon's music store).
ETA: setfacl -b *.mp3 removed the acls
Thanks for pointing me in the right direction, I should have been aware of get/setfacl having worked with Linux as long as I have.
File with "+"
getfacl 06_-_Love_This_Life.mp3
# file: 06_-_Love_This_Life.mp3
# owner: squeezeboxserver
# group: users
user::rw-
user:squeezeboxserver:rw-
group::rw-
mask::rw-
other::r--
File without "+"
getfacl 12_-_Walking_On_The_Spot.mp3
# file: 12_-_Walking_On_The_Spot.mp3
# owner: squeezeboxserver
# group: users
user::rw-
group::rw-
other::r--
I guess I can now run setfacl to change it, however I'm curious to know how this changed (these were files download from Amazon's music store).
ETA: setfacl -b *.mp3 removed the acls
Thanks for pointing me in the right direction, I should have been aware of get/setfacl having worked with Linux as long as I have.
Edited by TonyRPH on Friday 30th September 17:59
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff