Skip to main content

All Questions

Tagged with
0 votes
0 answers
41 views

Why does rsync not copy the other execute bit when copying to an sshfs mount?

I have a mounted sshfs drive at /mnt/backup_datascrape with permission rwxrwxr-x. I am trying to copy a directory foo with permission rwxrwxr-x to that mount using rsync while preserving the ...
geckels1's user avatar
  • 173
1 vote
1 answer
120 views

For SSHFS, can directories and file inherit same permissions as parent directory?

Further to this post, I found out that if the permissions for other should be ---, then I can use (it seems to work): setfacl -R -m d:o::0 test But when using SSHFS, permissions won't be retained. ...
charleslcso's user avatar
2 votes
1 answer
3k views

Mount root filesystem with user permission using sshfs

I want to use sshfs to mount filesystem folder on my machine (let's say ~/home). I would like to be able to edit files inside the / folder that got mounted using any editor (for example, edit /etc/...
23176xsk's user avatar
3 votes
0 answers
1k views

sshfs mount and permission

I'm gonna go crazy! I've been trying to handle a sshfs mounted folder for several days, but always get a permission denied on file. The context: Local Server (L) and a Remote server (R). Only user X ...
Pierrick Vodoz's user avatar
1 vote
0 answers
1k views

Cannot change ownership in SSHFS/FUSE

I encounter permission denied when trying to change the owner using chown of a folder on mounted SSHFS: # /etc/fstab sshfs#[email protected]:/mnt/data /data fuse user,_netdev,nonempty,...
Marek Suchánek's user avatar
4 votes
1 answer
2k views

git over sshfs (with idmap): unable to append to '.git/logs/HEAD': Permission denied

Problem: I have a git repository mounted via sshfs and cannot commit changes with the following error message: fatal: cannot update the ref 'HEAD': unable to append to '.git/logs/HEAD': Permission ...
mschilli's user avatar
  • 239
0 votes
1 answer
242 views

Modified mask/effective doesn't apply when creating files over ssh/sshfs vs. on machine itself (same user)

I set up mask like setfacl -R -d -m m::rw ., and it works fine on the local machine (that I am ssh'd in right now, its headless). I can have two users modify and read the directory. But when I am ...
jep's user avatar
  • 1
1 vote
1 answer
795 views

Permissions problem with remote mount

I am having a simple permissions issue that the solution, or proper setup is eluding me. I have two servers sitting side by side on the same network. .80 is the web server and .40 is a file server. ...
Zak's user avatar
  • 181
0 votes
2 answers
415 views

Access serial port of sshfs mounted filesystem

I'm trying to read /dev/ttyUSB0 of another computer mounted via sshfs, however commands such as cat /mnt/tmp1/dev/ttyUSB0 return "Permission denied" (I'm mounting the filesystem to /mnt/tmp1). I've ...
philn's user avatar
  • 121
5 votes
0 answers
2k views

SSHFS mount option default_permissions does not support ACLs - please explain

In regard to the FUSE GitHub page, I have some questions: Does the quote below mean SSHFS does support ACLs if default_permissions is not used? Does it mean that if one needs ACL support and proper ...
MountainX's user avatar
  • 18.8k
1 vote
0 answers
850 views

SSHFS permissions not correct when mounted with fstab

If the SSHFS share in question is mounted manually by the user with the mount command, the permissions are correct and the user has the expected access. No problems. However, the mount needs to be ...
MountainX's user avatar
  • 18.8k
1 vote
1 answer
931 views

Is it possible to mount a SSHFS point in a way to preserve (local) ownerships and permissions?

if I mount a sshfs point as root and use the option allow_other then on the original server (SERVERA) the files are owned by the SSH user, and on the destination server (SERVERB) are accessible (...
Antonello's user avatar
  • 1,073
6 votes
0 answers
3k views

How to use ACL with SSHFS

I want to allow users in the same group ("team") to edit the same files on the server. The directory containing these files is mounted via SSHFS. So far, I was not able to accomplish my goal using ...
MountainX's user avatar
  • 18.8k
11 votes
3 answers
48k views

Proper way to set the umask for SFTP transactions?

My goal is to allow all users who are members of the "team" group to edit (r/w) the same set of remote files -- normal work collaboration -- using a local mount point. I have tried NFS and SSHFS using ...
MountainX's user avatar
  • 18.8k
0 votes
0 answers
1k views

behavior of the sshfs user permissions

I want to use one drive of the remote server in my current Linux system. So I have found out SSHFS is an option for that.. Using sshfs I am able to map the remote system drive as mount point in ...
anwaar_hell's user avatar

15 30 50 per page