Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Unix-системы [игнор отключен] [закрыт для гостей] / Во дела -- нет доступа... / 8 сообщений из 8, страница 1 из 1
17.09.2014, 11:04
    #38748877
MasterZiv
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Во дела -- нет доступа...
Не думал никогда, что буду спрашивать что-то по линуксу.

Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
Linux junkstorage 3.2.26 #1 SMP Fri Dec 27 13:50:41 PST 2013 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Sep 17 10:56:11 2014 from XXXXXX


$ whoami
ziv

$ groups
share sudo

$ ls -l
total 40
drwxrwx---+  2 root share 4096 Sep 15 18:09 adm
drwxrwxrwx+ 59 root share 4096 Sep 16 12:17 data
...

$ ls adm
ls: cannot open directory adm: Permission denied
$ 

Чё за хрень, почему нет доступа, я же в группе ?

----
Читал хинты оракла. Много думал...
...
Рейтинг: 0 / 0
17.09.2014, 11:18
    #38748887
Андрей Панфилов
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Во дела -- нет доступа...
MasterZiv,

ну что что плюсик значит в выхлопе ls?

Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
     The file mode bits listed are similar to symbolic mode
     specifications (*note Symbolic Modes::).  But `ls' combines
     multiple bits into the third character of each set of permissions
     as follows:

    `s'
          If the set-user-ID or set-group-ID bit and the corresponding
          executable bit are both set.

    `S'
          If the set-user-ID or set-group-ID bit is set but the
          corresponding executable bit is not set.

    `t'
          If the restricted deletion flag or sticky bit, and the
          other-executable bit, are both set.  The restricted deletion
          flag is another name for the sticky bit.  *Note Mode
          Structure::.

    `T'
          If the restricted deletion flag or sticky bit is set but the
          other-executable bit is not set.

    `x'
          If the executable bit is set and none of the above apply.

    `-'
          Otherwise.

     Following the file mode bits is a single character that specifies
     whether an alternate access method such as an access control list
     applies to the file.  When the character following the file mode
     bits is a space, there is no alternate access method.  When it is
     a printing character, then there is such a method.

     GNU `ls' uses a `.' character to indicate a file with an SELinux
     security context, but no other alternate access method.

      A file with any other combination of alternate access methods is
     marked with a `+' character. 
...
Рейтинг: 0 / 0
17.09.2014, 12:48
    #38749008
miwaonline
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Во дела -- нет доступа...
MasterZiv,

selinux/apparmor ?
...
Рейтинг: 0 / 0
19.09.2014, 10:25
    #38751224
MasterZiv
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Во дела -- нет доступа...
Парни, я так и думал.

Спасибо!
...
Рейтинг: 0 / 0
19.09.2014, 14:05
    #38751552
miksoft
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Во дела -- нет доступа...
MasterZivПарни, я так и думал.Так что именно в итоге оказалось?

P.S. я тоже как-то раз налетел на sticky-бит, неизвестно откуда взявшийся :)
...
Рейтинг: 0 / 0
19.09.2014, 16:19
    #38751747
netwind
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Во дела -- нет доступа...
Че правда apparmor в каком-то маломощном домашнем хранилище ? они поехали..
...
Рейтинг: 0 / 0
19.09.2014, 20:04
    #38752017
miwaonline
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Во дела -- нет доступа...
netwind,

Ну, под дефолту apparmor в debian выключен. Так что это кто-то проявил самодеятельность. Это так, оправдывая debian :)
...
Рейтинг: 0 / 0
22.09.2014, 15:22
    #38753606
MasterZiv
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Во дела -- нет доступа...
miksoftMasterZivПарни, я так и думал.Так что именно в итоге оказалось?

P.S. я тоже как-то раз налетел на sticky-бит, неизвестно откуда взявшийся :)

Это не sticky бит.
...
Рейтинг: 0 / 0
Форумы / Unix-системы [игнор отключен] [закрыт для гостей] / Во дела -- нет доступа... / 8 сообщений из 8, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]