ALT Linux Bugzilla
– Attachment 2750 Details for
Bug 16532
fat fs: пользователь не может поменять права на директорию, хотя разрешено
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
test-dir-perms.sh
test-dir-perms.sh (text/plain), 403 bytes, created by
Ivan Zakharyaschev
on 2008-08-02 23:15:19 MSD
(
hide
)
Description:
test-dir-perms.sh
Filename:
MIME Type:
Creator:
Ivan Zakharyaschev
Created:
2008-08-02 23:15:19 MSD
Size:
403 bytes
patch
obsolete
>#!/bin/bash > >if [[ "$1" ]]; then > readonly USER="$1" >else > echo $"A user should be specified by the 1st argument." > /dev/stderr > exit 1 >fi > >set -ex # Exit on failures; and also echo what is done. > ># Clean up: >rmdir rw-dir ||: > ># Show perms for the working dir: >ls -ld . > ># Prepare: >su -c 'mkdir -p rw-dir' "$USER" >ls -ld rw-dir > ># Try to modify: >su -c 'chmod a-w rw-dir' "$USER" >ls -ld rw-dir
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 16532
: 2750 |
2751