Column Attr has value G750 (FTP server with Linux)

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
michalpelc
New Member
New Member
Posts: 1
Joined: 2022-05-08, 14:14 UTC

Column Attr has value G750 (FTP server with Linux)

Post by *michalpelc »

Hi,

I connected by Total Commander to FTP server. There is a Linux with the application WordPress.
Total Commander displays a Linux file permission at "Attr" Column. There is usually value "-755" or "-750" for Owner, Group, Other permissions.
There are few files that have a letter at the beginning, e.g. "G750".
I am able to set only permission numbers NNN by menu File / Change attributes. I am not able set the letter.

Could you explain me what is meaning of the letter at the begging?
How I can set the letter?

You can see a picture below:
https://drive.google.com/open?id=1T5XftD2WfdrUb1HaSmkNsizuATMBiFiA&authuser=michal.pelc%40gmail.com&usp=drive_fs

Thanks a lot lot any advice,

Michal
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3860
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Column Attr has value G750

Post by *sqa_wizard »

G is just a different notation of SGID or sgit bit (numeric vs. symbolic)
The numeric notation is more powerfull:

0: setuid, setgid, sticky bits are unset
1: sticky bit is in place
2: setgid bit is in place (G)
3: setgid and sticky bits are in place
4: setuid bit is in place
5: setuid and sticky bits are in place
6: setuid and setgid bits are on
7: setuid, setgid, sticky bits are activated

For details see: https://linuxhandbook.com/suid-sgid-sticky-bit/
#5767 Personal license
Post Reply