Skip to contentSkip to conversation

permission bits for group not honoured on directory creation

DISCUSSION Jos van Wezel 3 participants 4 messages Sep 2, 2004 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Dear all,

on an nfs v3 mounted file system (linux client and server):

# umask
0002
# mkdir d
# ls -ld d
drwxr-xr-x    2 root     root         8192 Sep  2  2004 d/
#

note the write bit is not set for group. The ability to create group writable directories is important for our applications. A fix for this, or a pointer to a solution would be greatly appreciated.

Jos

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw

P=E5 to , 02/09/2004 klokka 16:08, skreiv Jos van Wezel:

Quoted 10 lines
# umask
0002
# mkdir d
# ls -ld d
drwxr-xr-x    2 root     root         8192 Sep  2  2004 d/
#
=20
note the write bit is not set for group. The ability to create group
writable directories is important for our applications. A fix for
this, or a pointer to a solution would be greatly appreciated.

You've checked that the setgid bit is not set on the parent directory and that the filesystem has not been mounted with the grpid/bsdgroups option on the server?

What is a "linux client and server" btw?

Cheers,
Trond

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#3 lore raw
In reply to Jos van Wezel
Quoted 10 lines · Jos van Wezel

Dear all,

on an nfs v3 mounted file system (linux client and server):

# umask
0002
# mkdir d
# ls -ld d
drwxr-xr-x    2 root     root         8192 Sep  2  2004 d/
#

cannot reproduce. I would surely be bitten by such a bug.

kernel versions ?
client: how do the relevant /proc/mounts entries look?
server: relevant /etc/exports lines?

Signature · 11 lines
Frank


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#4 lore raw

As Trond correctly hinted it had to do with the underlying file system which in our case is GPFS. Permissions on an exported ext3 fs work as expected.

Thanks

Jos

Quoted 3 lines · Trond Myklebust

You've checked that the setgid bit is not set on the parent directory and that the filesystem has not been mounted with the grpid/bsdgroups option on the server?

Quoted 4 lines · Frank van Maarseveen

cannot reproduce. I would surely be bitten by such a bug.

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs