Displaying 20 results from an estimated 2691 matches for "chowning".
2008 Oct 20
4
command line escaping a dash
I cannot figure this out...
I would like to change the owner of a bunch of folders whose name begins
with a dash...
# chown Administrator \-BILLED\ JOBS\ -\ 1997-2002 -R
chown: invalid option -- B
Try `chown --help' for more information.
# chown Administrator "\-BILLED\ JOBS\ -\ 1997-2002" -R
chown: cannot access `\\-BILLED\\ JOBS\\ -\\ 1997-2002': No such file or
directory
#
2007 Feb 12
5
chown command goof up
Basically, what I typed was:
chown -R user2:user2 *
chown -R user2:user2 .*
chown -R user2:user2 *.*
...all in /home. Duh. I forgot which way recursive went.
So, I then did:
chown -R root:root *
chown -R root:root .*
chown -R root:root *.*
...this time in / to try and f things. Duh again. Other items need to
have other owners & groups.
So, how can I fix this? In MacOSX, there is a utility
2017 May 27
2
Not possible to chown as guest?
On 5/27/17, Rowland Penny via samba <samba at lists.samba.org> wrote:
> I do not fully know, but it is probably because this is such a bad idea
> that it has been made not to work, or even more likely, no one ever
> thought about doing this (because it is a bad idea), so there is no
> code in Samba to do this.
But it seems that it took more work to prevent guest from performing
2009 Mar 11
2
chown failure on a samba share
Is this working as designed or a samba bug?
I am trying to chown ownership of a file in a samba share and it
results in an error.
cifstest6:~ # smbclient //cifstest8/smb8 -U root
Enter root's password:
Domain=[CIFSTEST8] OS=[Unix] Server=[Samba 3.4.0-GIT-e6a5f11-devel]
smb: \> chown 65534 65534 file2
NT_STATUS_ACCESS_DENIED chown file \file2 uid=65534, gid=65534
The share is thus
2017 May 25
3
Not possible to chown as guest?
I run Samba server on my OpenWRT router. I normally access the share
as guest from my Linux box. Here's the relevant line from my
/etc/fstab:
//192.168.1.1/T_Drive /mnt/r cifs
guest,rw,iocharset=utf8,uid=1000 0 0
Recently I harnessed rsync to backup a number of photos from the Linux
to the Samba share mountpoint but rsync said that chgrp failed when it
tried to change group
2014 Jul 31
2
Samba4 creating share and setting permissions without windows tools
Hello,
I need a way to set permissions to share folder without to use RSAT, I've
not found anything about that.
The samba wiki said that
---------------------
Change permissions on folders of a share
Changes of permissions are done using the classic *nix tools 'chmod',
'chown' and 'chgrp'.
Example:
Code:
# mkdir /srv/samba/Demo/Example/
# chown foobar:DemoGroup
1997 Sep 26
1
tty chowning
About a year ago I outlined a scheme for arranging chowning of the tty
end of ptys without needing root privileges. Since then, I haven''t had
time to actually implement it.
I was thinking about the problem again today, and, having learned a
bit about sessions and controlling ttys and stuff, was able to come up
with a simpler mechanism.
First, obs...
2019 Nov 11
1
Proxy testing in container( chown failed /var/dovecot/login)
I added this to the 10-master imap-login, pop3-login and
submission-login, but keep this message
Doveconf still lists imap-urlauth-login with chroot = token-login, also
when changing this one to chroot = the error persists.
Fatal: fchown() failed for /var/dovecot/login: Operation not permitted
-----Original Message-----
Subject: Re: Proxy testing in container( chown failed
2016 Feb 17
4
Can one set the owner of a folder to BUILTIN\Administrators?
On 2/17/2016 9:43 AM, Rowland penny wrote:
> On 17/02/16 17:27, Ian wrote:
>>
>> On 2/17/2016 5:00 AM, Rowland penny wrote:
>>> On 17/02/16 00:03, Ian wrote:
>>>> I've recently attempted to migrate some windows server files over to
>>>> samba 4 hosted on a FreeNAS server.
>>>>
>>>> Using robocopy with the /copyall switch,
2017 May 26
2
Not possible to chown as guest?
On 5/27/17, Rowland Penny via samba <samba at lists.samba.org> wrote:
> On Sat, 27 May 2017 04:31:07 +0900
> john smith via samba <samba at lists.samba.org> wrote:
>
>> > getent passwd nobody
>> > nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
>>
>> Ok, I know that. Please read my 1st post more carefully. I added my
>> nobody
2019 Feb 16
3
Changing UID numbers
Hello everyone -
Update: Many thanks to Matt Miller for the tip on usermod options. That worked very well! I did not know those options existed and would never have thought to look for them.
After making and testing backups, I started with my main workstation. Rebooted in runmode=3, then ran the usermod -u and -g options. I did this in two runs. I first had to uninstall docker since it
2017 May 26
2
Not possible to chown as guest?
On 5/27/17, Rowland Penny <rpenny at samba.org> wrote:
> On Sat, 27 May 2017 03:45:00 +0900
> john smith via samba <samba at lists.samba.org> wrote:
>
>>
>> It might be. However, the primary issue for me is to explain why
>> can't I perform a chown operation with guest user. Is it
>> fundamentally forbidden or is there a quirk?
>
> I suppose
2014 Jul 15
3
chown destroys ACLs
Hi,
Is it normal that "chown $user $file" and "chown :$group $file" destroy
the Windows-ACLs?
Is it normal that changing the file owner in Windows does not change the
file owner in Linux, but changing the file owner in Linux does change
the file owner in Windows?
This should be mentioned in
>
2007 Aug 15
2
chown and chgrp on 4.5 vs 5.0
I just noticed that on centso 4.5 I have an executable with the +s
(chmod +s myexe)
doing a chmod root myexe and chown root myexe does NOT affect the +s
setting.
However, on centos 5 this is not the case.
chmod +s myexe
chown root myexe or chgrp root myexe
will DROP the +s status.
How can I get around this?
I want to keep the owner, group, world settings.
Thanks,
Jerry
2013 Oct 14
1
rsync-3.1.0 --chown, --usermap, and --groupmap ignored?
The man page describes options --chown, --usermap, and --groupmap, but
these seem to be silently ignored beyond validating that the user and
groups do indeed exist. Is the following supposed to work?
$ touch a
$ rsync --chown=http:http a b
$ ls -l a b
-rw-r--r-- 1 jed jed 0 Oct 14 02:44 a
-rw-r--r-- 1 jed jed 0 Oct 14 02:45 b
$ chown http:http b
chown: changing ownership of 'b':
2016 Feb 17
2
Can one set the owner of a folder to BUILTIN\Administrators?
On 2/17/2016 10:32 AM, Rowland penny wrote:
> On 17/02/16 18:07, Ian wrote:
>> Actually, that works for me too. I just issued the command 'chgrp
>> "BUILTIN\administrators" CoreLib' and it returned successfully for that
>> folder. 'ls -la' shows:
>> d---------+ 2 MMIA\domain admins BUILTIN\administrators 5 Dec 8 11:59
>> CoreLib//
2001 Feb 21
1
sftp-server and chown
Hi,
I've already discussed this issue in SSHSCI's SSH 2.2 context on
ssh at clinet.fi list. My standpoint is that it's wrong and meaningless
to perform chown in sftp-server as the file is most likely copied
between systems with distinct accounting system where user is not
necessarily (and even unlikely) has same numeric user id. The original
bug report was that user couldn't
2019 Jun 03
3
chown and AD users
Hi everyone,
I want to set ACL's on some directories for AD users with chown command,
but it doesn't work.
wbinfo -u is ok and return all users. i.e :
DOMAIN\administrator
DOMAIN\user
...
if I try :
#chown -R "DOMAIN\user" /my_dir
I obtain this :
chown: incorrect user : "DOMAIN\\user"
chown systematically "adds" a backslash, but I don't
2020 Aug 30
4
[Bug 3206] New: sftp client(32bit) chown command does not support uid >LONG_MAX
https://bugzilla.mindrot.org/show_bug.cgi?id=3206
Bug ID: 3206
Summary: sftp client(32bit) chown command does not support uid
>LONG_MAX
Product: Portable OpenSSH
Version: 6.9p1
Hardware: 68k
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: sftp
2013 Jan 29
7
stuck installing puppet in RHEL 5
Hi All,
Im trying to install but with no luck. Any idea what I did wrong ?
** mkdir -p /var/log/pe-console-auth
** touch /var/log/pe-console-auth/cas.log
** touch /var/log/pe-console-auth/auth.log
** chmod 770 /var/log/pe-console-auth
** chmod 660 /var/log/pe-console-auth/auth.log
** touch /var/log/pe-console-auth/cas_client.log
** chmod 660 /var/log/pe-console-auth/cas_client.log
** chown -R