Re: uid=0 inside user-namespace and procfs file permissions

2014-09-30 Thread Aditya Kali
On Tue, Sep 30, 2014 at 7:38 PM, Eric W. Biederman wrote: > Aditya Kali writes: > >> On Tue, Sep 30, 2014 at 5:35 PM, Eric W. Biederman >> wrote: >>> Aditya Kali writes: >>> Hi all, I am trying to run a process with uid=0 inside userns. But in the when I also do capset() aft

Re: uid=0 inside user-namespace and procfs file permissions

2014-09-30 Thread Eric W. Biederman
Aditya Kali writes: > On Tue, Sep 30, 2014 at 5:35 PM, Eric W. Biederman > wrote: >> Aditya Kali writes: >> >>> Hi all, >>> >>> I am trying to run a process with uid=0 inside userns. But in the when >>> I also do capset() after setresuid(0, 0, 0), I am seeing inconsistent >>> proc file permissi

Re: uid=0 inside user-namespace and procfs file permissions

2014-09-30 Thread Aditya Kali
On Tue, Sep 30, 2014 at 5:35 PM, Eric W. Biederman wrote: > Aditya Kali writes: > >> Hi all, >> >> I am trying to run a process with uid=0 inside userns. But in the when >> I also do capset() after setresuid(0, 0, 0), I am seeing inconsistent >> proc file permissions. Almost all the files in /pro

Re: uid=0 inside user-namespace and procfs file permissions

2014-09-30 Thread Eric W. Biederman
Aditya Kali writes: > Hi all, > > I am trying to run a process with uid=0 inside userns. But in the when > I also do capset() after setresuid(0, 0, 0), I am seeing inconsistent > proc file permissions. Almost all the files in /proc// has global > 'root' as owner and group even if the actual proce

Re: UID/GID override on CIFS mounts to Samba and proposed new mount parameter to disable Unix Extensions on the client

2007-04-30 Thread Steve French
OK - I fixed the formatting and checked into the cifs-2.6.git tree. I also fixed a few dozen similar errors in formatting in the same files. Thanks for noticing that. On 4/30/07, Randy Dunlap <[EMAIL PROTECTED]> wrote: On Mon, 30 Apr 2007 09:26:16 -0500 Steve French wrote: replying to the inl

Re: UID/GID override on CIFS mounts to Samba and proposed new mount parameter to disable Unix Extensions on the client

2007-04-30 Thread Steve French
The CIFS Unix Extensions are used by multiple clients now (not just Linux) but originally I thought that it might be confusing to Linux users to call the configuration setting for that in /proc/fs/cifs "Unix" instead of "Linux" (and since it has been there for years and is externally visible, it

Re: UID/GID override on CIFS mounts to Samba and proposed new mount parameter to disable Unix Extensions on the client

2007-04-30 Thread Randy Dunlap
On Mon, 30 Apr 2007 09:26:16 -0500 Steve French wrote: replying to the inline patch :( Use a space between "if" and "(" (multiple occurrences). Thanks. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** - To unsubscribe from this list: send the line "unsub

Re: UID/GID override on CIFS mounts to Samba and proposed new mount parameter to disable Unix Extensions on the client

2007-04-30 Thread Anton Altaparmakov
On 30 Apr 2007, at 15:26, Steve French wrote: When CIFS Unix Extensions are negotiated we get the Unix uid and gid owners of the file from the server (on the Unix Query Path Info levels), but if the server's uids don't match the client uid's users were having to disable the Unix Extensions (which

Re: uid

2000-09-20 Thread Chris Wing
Dan: GNU tar uses text usernames preferentially, otherwise it falls back upon numeric IDs. So if you had a user with the same user name as in the tar file, it would chown it to that user's ID, not the same id as 'tarabas'. This is true only for GNU format tar, however; SysV format tar files do n

Re: uid

2000-09-19 Thread Dan Podeanu
On Mon, 18 Sep 2000, Christopher Allen Wing wrote: .. snipped .. > tar should work okay, I think; by default it uses textual user names > instead of numeric UIDs. Not true. All the kernels I download from a certain local mirror are owned by the local user 'tarabas' since the uid happens to be

Re: uid

2000-09-18 Thread Christopher Allen Wing
2.4 does indeed use 32-bit integers for uid and gid in all places, with the exception of BSD process accounting (for now). Quota should work fine with UIDs >65535; however, you can not use the full 32 bits of UID due to the format of the quota file. (you should be fine with hundreds of thousands o

Re: uid

2000-09-18 Thread Tracy Stenvik
Yes, 2.4 has 32bit uid/gid support. No, 2.2 doesn't, but there is a patch from http://www.engin.umich.edu/caen/systems/Linux. You'll probably have to do some work to fit the patches into the latest 2.2 kernels though, as they're no longer being maintained in leu of 2.4. In addition to running a