this post was submitted on 06 Mar 2026
18 points (80.0% liked)

Sysadmin

13471 readers
10 users here now

A community dedicated to the profession of IT Systems Administration

No generic Lemmy issue posts please! Posts about Lemmy belong in one of these communities:
!lemmy@lemmy.ml
!lemmyworld@lemmy.world
!lemmy_support@lemmy.ml
!support@lemmy.world

founded 2 years ago
MODERATORS
 

I work on an HPC and often I have to share files with other users. The most approachable solution is to have an external cloud storage and recline back and forth. However there's some projects that are quite heavy (several TB) and that is unfeasible. We do not have a shared group. The following is the only solution I found which is not to just set al permissions to 777, and I still don't like it.

Create a directory and set ACL to give access to the selected users. This works fine if the users create new files in there, but it does not work if they copy from somewhere else as default umask is 022. Thus the only appropriate solution is to change default umask to 002, which however affects file creation system wide. The alternative is to change permissions every time you copy something, but you all know very well that is not going to happen.

Does it really have to be such a pain in the ass?

you are viewing a single comment's thread
view the rest of the comments
[–] frongt@lemmy.zip 2 points 3 days ago (1 children)

A dedicated file sharing application.

[–] ranzispa@mander.xyz 0 points 3 days ago (2 children)

What do you mean? Is there an application that allows easily sharing files on one Linux system? That would be nice!

If you mean going through an external server or peer to peer transfer, that is not too feasible. I do not have other storage places with tens of terabytes available, and transfering that much data through some P2P layer, while feasible, would probably be even less user friendly.

[–] WhyJiffie@sh.itjust.works 2 points 2 days ago (1 children)

Is there an application that allows easily sharing files on one Linux system? That would be nice!

this sentence made me remember this: https://github.com/9001/copyparty

[–] ranzispa@mander.xyz 1 points 1 day ago

Not what I need, but it looks very cool!

[–] IceFoxX@lemmy.world 0 points 3 days ago* (last edited 3 days ago) (2 children)

NFS Well if someone is running windows look for samba
s/ftp
scp
You could use pythons build-in http server
rsync

[–] possiblylinux127@lemmy.zip 0 points 3 days ago

Skip NFS and ftp as they cause more problems than they solve

[–] ranzispa@mander.xyz 0 points 3 days ago (1 children)

This is a large computing cluster, there are no such mountpoints available and I'm definitely not allowed to go there and plug a few disks into the racks.

[–] IceFoxX@lemmy.world 2 points 3 days ago (1 children)

My answer regarding Sftp Scp Rsync remains unchanged. Rclone, Globus, Fuse

[–] ranzispa@mander.xyz 0 points 3 days ago (2 children)

None of these programs allow overriding Linux permissions. You can not recline/rsync in another user directory. You can not sftp/scp in another user directory. My problem is not about transferring data across different systems, but rather accessing data on one system through different users. All users should be able to read and modify the files.

[–] possiblylinux127@lemmy.zip 2 points 3 days ago (1 children)

You can't override user permissions. If you could they would be useless

[–] ranzispa@mander.xyz 1 points 2 days ago (1 children)

I don't want to override user permissions, I want it to be easy that users can agree to a directory being shared and in such directory group permissions get overridden by some laxer restrictions through explicit authorization of the user. I'd like for this to exist. This would not make permissions useless, just allow for an easy way to share files across users on a filesystem.

[–] possiblylinux127@lemmy.zip 2 points 2 days ago (1 children)

That is not how permissions work

[–] WhyJiffie@sh.itjust.works 1 points 2 days ago (1 children)

.. don't they? usually, owner of the directory can change its permissions, and ACLs when those are enabled for the mount

[–] possiblylinux127@lemmy.zip 1 points 2 days ago* (last edited 2 days ago)

Changing permissions is not the same as bypassing permissions

[–] IceFoxX@lemmy.world 1 points 3 days ago

Oh, I see. Then I completely misunderstood. Sorry