Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

General Debian • Re: Share your Debian SCRIPTS

$
0
0
@CwF
Note when using /usr/local/bin, users in the group ‘staff’ can create and mark executable the script directly to be shared by all users.]
Many thanks CwF for pointing that out.

There is an even worse problem with /user/local/bin.
In the Debian Wiki under “Groups without an associated user”;-

“(note that executables in /usr/local/bin are in the PATH variable of any user, and they may "override" the executables in /bin and /usr/bin with the same name)

So a user could create serious problems by an accidental naming clash.

As a result I have edited the post to save the script in /usr/bin, (and moved it there :-))

I was considering deleting the Group ‘staff’ as we don’t use it and there are no users in the group.
However, I have yet to find out how to be sure that no files are linked to ‘staff’.

With Linux, the day one stops learning about it one has probably died!

Statistics: Posted by Theuthr — 2024-11-11 12:49



Viewing all articles
Browse latest Browse all 2849

Trending Articles