Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
748 views

is /etc/sudoers writable or not

The default permission in /etc/sudoers file is readonly for root and group root as in picture is obvious : So when you open it with any test editor it can't be written and give error read only. now ...
Salar's user avatar
  • 174
16 votes
3 answers
6k views

Program file exists in /usr/bin, but cannot be used

Clearly my file exists in /usr/bin $ ls /usr/bin/ngrok /usr/bin/ngrok However, when I attempt to chown it I receive an error $ sudo chown my_user:users /usr/bin/ngrok chown: cannot dereference '/...
Jorik's user avatar
  • 177
0 votes
0 answers
30 views

How to enable users to manage certain groups on file server

Let's assume we are in a business environment and we want to configure a *nix/*BSD file server. The business does work for several customers, thus the folder structure has the clients' names on the ...
Phil's user avatar
  • 21
-3 votes
1 answer
3k views

Change existing file type from standard file "-" to directory "d" as shown with Unix ls -l

In summary, if I use ls -l it yields something for a directory like... drwxr-xr-x and the reported error for a directory with files in it, is it shows as a standard file and ls -l yields... -rwxr-...
Chris_top_he_r's user avatar
5 votes
1 answer
841 views

Can't execute files in particular directories

We are encountering a bizarre issue were non-root users are unable to execute any files (scripts or binaries) in certain directories. This transcript demonstrates the issue: [root@b6 /]# mkdir q [...
AgileZebra's user avatar
0 votes
1 answer
491 views

Determine group of unreadable unix/linux directory

dcoles1@shovel:/ $ cd /DriveXT dcoles1@shovel:/DriveXT $ ls . unreadable dcoles1@shovel:/DriveXT $ cd /DriveXT/MML/ dcoles1@shovel:/DriveXT/MML $ ls . unreadable dcoles1@shovel:/DriveXT/MML $ ...
Dan's user avatar
  • 155