You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Imagine that we have user "user" with uid=500 in group "group" with gid 500.
One can mount nul1fs to some place with uid and gid options. There is no problems here.
[root@host nullfs]# ./nul1fs -o uid=500,gid=500 /tmp/nul1fs
[root@host nullfs]# ls -lad /tmp/nul1fs
drwxrwxrwx 2 user group 0 Мар 6 16:43 /tmp/nul1fs
But later when we want to read or write something to this directory we will get "Permission denied"
[root@host nullfs]# su - user
[user@host ~]$ touch /tmp/nul1fs/sdf
touch: cannot touch `/tmp/nul1fs/sdf': Permission denied
[user@host ~]$ ls /tmp/nul1fs
ls: /tmp/nul1fs: Permission denied
But from "root" account we still can read and write as usual. And it returns us file with user:group ownerships.
[user@host nullfs]# ls -la /tmp/nul1fs/sdfdsf
-rw-rw-rw- 1 user group 0 Мар 6 17:04 /tmp/nul1fs/sdfdsf
The text was updated successfully, but these errors were encountered:
Imagine that we have user "user" with uid=500 in group "group" with gid 500.
One can mount nul1fs to some place with uid and gid options. There is no problems here.
But later when we want to read or write something to this directory we will get "Permission denied"
But from "root" account we still can read and write as usual. And it returns us file with user:group ownerships.
The text was updated successfully, but these errors were encountered: