Displaying 5 results from an estimated 5 matches for "nosetuid".
2008 Jan 15
1
Fun with nosetuid!
On an unpatched Centos 4.4 system I chmod'd /usr/bin/sudo to ug+s, and set
the filesystem in /etc/fstab to defaults,nosetuid. Reboot, and am told
sudo needs to be set to setuid root.
An ls -l shows rwsrws-- root root sudo
I had to use a rescue CD to undo /etc/fstab for the filesystem partition
so sudo would work.
What am I missing?
Thanks.
Scott
2011 Oct 12
1
cifs mount creates files with root:root permissions
I mount this share on a client:
[users]
comment = home folders
inherit acls = Yes
inherit permissions = Yes
path = /home
read only = No
using this as root on the client:
mount -t cifs //192.168.1.2/users /home -o rw,nosetuid
I then login as a user on the client authenticated via ldap. No problem. It
takes me to the mounted folder and I can see my files. When I create a file it
creates it as owner root:root. Not what I want!
How can I create files on the mount as user:group no matter who logs in?
Thanks. Steve.
2012 Oct 29
1
Scenario with CIFS
...users = admin
read only = No
create mask = 0700
force create mode = 0700
directory mask = 0700
browseable = No
///
Mounting command is:
# mount -t cifs //192.168.0.99/shared ./mount -o
uid=localuser,gid=localuser,iocharset=utf8,credentials=/tmp/credentials,nosetuids,noperm
File /tmp/credentials contains username myuser and its password.
I successfully mount that share, I can list, cd, etc. but not write:
root at monitor:/mnt/mount/archiveupload# ll
total 40
drwxrwxr-x 4 localuser localuser 0 oct 29 21:25 ./
drwxr-xr-x 3 localuser localuser 0 oct 29...
2007 Jul 27
1
Read-only (forensic) mounts of ZFS
...... these options can be set on a per-mount basis
using the -o option, without affecting the property that is
stored on disk. The values specified on the command line
will override the values stored in the dataset. The -nosuid
option is an alias for "nodevices,nosetuid". These proper-
ties are reported as "temporary" by the "zfs get" command.
TEST
26.07.2007
Forensic mounting of ZFS File Systems.
Loopback device does not seem to work with ZFS using "zfs mount" or
legacy "mount".
However, temporary command...
2007 Jul 26
8
Read-only (forensic) mounts of ZFS
...... these options can be set on a per-mount basis
using the -o option, without affecting the property that is
stored on disk. The values specified on the command line
will override the values stored in the dataset. The -nosuid
option is an alias for "nodevices,nosetuid". These proper-
ties are reported as "temporary" by the "zfs get" command.
TEST
26.07.2007
Forensic mounting of ZFS File Systems.
Loopback device does not seem to work with ZFS using "zfs mount" or
legacy "mount".
However, temporary command...