! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar refuses to overwrite user files when parent directory allows limited a...
Status:
RESOLVED: MOVED

Comments

Description userblues 2017-08-30 02:20:11 CEST
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?
Comment 1 userblues 2018-07-22 10:32:59 CEST
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.
Comment 2 alexxcons editbugs 2018-12-06 14:02:22 CET
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.
Comment 3 userblues 2018-12-06 14:14:09 CET
$ 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.
Comment 4 alexxcons editbugs 2018-12-07 22:07:11 CET
ok, thanks for the details! So this bug only is about "overwrite". I modified the title accordingly.
Comment 5 userblues 2018-12-07 23:19:36 CET
Thanks! Yes, I wasn't clear.
Comment 6 Git Bot editbugs 2020-05-26 23:31:48 CEST
-- 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

Bug #13830

Reported by:
userblues
Reported on: 2017-08-30
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Attachments

Additional information