# We need this script to fix up permissions for files that have been uploaded that resets the permissions on everything in a folder: To work-around this, I wrote a script This script assumes that symlinks have been set up in the /shares/ directory. There isn't really any way of avoiding the problem described above - if you create files outside of the OMV framework, it's almost inevitable that you're going to do it incorrectly (in OMV's mind), thus causing problems. This can be quite confusing for a user, since they think they should have read access to everything in the folder, and they can read everything in that folder, except for this one particular file. ![]() This is because while OMV's Samba and shared folders permissions might say we're allowed to read the file, we also have to pass the file-system security, and the permissions on the file say that only root is allowed access Because root created the file., and so we will be denied access. Now, let's say we log in to the bPi as the root super-user and create a file in a shared folder that is normally readable by everyone - we won't be able to access that file from another machine, even though it's in a folder that everyone has read access to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |