Talk:Modes (Unix)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Article is not accurate[edit]

In addition to setuid/setguid, "s" is also used in the character field to indicate the type of file. So, the table showing "s" to mean only setuid/setguid is incorrect as shown. The type of file is given as the first character. For an ordinary file, this character is "-". Others include "l" for a symlink, and "d" for directory. Others, aside from these examples, exist. Kernel.package (talk) 03:35, 14 August 2013 (UTC)[reply]

I think you are confusing modes with type. Even though both can be thought of as attributes of a file, they are different. Indeed, the file type is presented as the left most single character of the charaters string you wrote about, while the modes are presented by the other, to the right, characters. unsigned comment added by 188.120.134.136 (talk) 13:18, 8 April 2018 (UTC)[reply]

Should this redirect to chmod[edit]

Most of the information in the article is duplicated in the chmod article. DGerman (talk) 23:12, 9 July 2014 (UTC)[reply]

Indeed. This article was started on 5 August 2008 by moving content from the Chmod article per the edit summary "Added content on modes from chmod page (it applies to all apps, eg, ls, rather than just chmod)", but that removal from chmod was almost immediately reverted, leaving the content fork.
And now more recently someone else suggested a different merge target at Talk:Unix file types#Proposed merge of Modes (Unix) into Unix file types. – wbm1058 (talk) 01:37, 26 December 2020 (UTC)[reply]
I've merged all the non-overlapping content from this article into chmod. – wbm1058 (talk) 01:51, 26 December 2020 (UTC)[reply]