I have webserver root mounted over NFS, my user has no write access to it (touch newfile will fail), but there are files owned by me. I update those html files in my desktop and would like to copy them over existing files in NFS mounted webroot. Thunar does not allow this, cp from command line works. Can this be fixed?
Actually, this is not NFS issue, Thunar refuses to delete/overwrite user owned files when parent directory does not allow write access. Other shells do not have this problem. BASH, Midnight Commander, XFE file manager to name a few.
At least for local file systems, "rm "needs only write+execute permission on the parent directory. The permissions of the file itself are irrelevant. Here more details: https://web.archive.org/web/20150108210426/http://content.hccfl.edu/pollock/aunix1/filepermissions.htm This will neither work with thunar, nor with BASH, mc, xfe, ... Do you use some kind of exotic file-system locally ? On NFS I have to test .. will do so later on.
$ su (or sudo -s) # mkdir testdir # touch testdir/testfile # chown <user> testdir/testfile # ^d $ touch testfile $ cp testfile testdir/testfile The last command is cp and it works from CLI, not from Thunar. Note, the parent directory is owned by root.
ok, thanks for the details! So this bug only is about "overwrite". I modified the title accordingly.
Thanks! Yes, I wasn't clear.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/172. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev