bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22030: chown permission denied


From: Catalino Rivera
Subject: bug#22030: chown permission denied
Date: Tue, 1 Dec 2015 08:34:56 +0800
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

Hi,

Here it is...

address@hidden:/media/windowsshare# chown --version
chown (GNU coreutils) 8.21
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie and Jim Meyering.
address@hidden:/media/windowsshare#



address@hidden:~# cd /media/windowsshare
address@hidden:/media/windowsshare# chown -R www-data: subversion myproject
chown: cannot access ‘subversion’: No such file or directory
chown: changing ownership of ‘myproject/locks/db-logs.lock’: Permission denied
chown: changing ownership of ‘myproject/locks/db.lock’: Permission denied
chown: changing ownership of ‘myproject/locks’: Permission denied
chown: changing ownership of ‘myproject/README.txt’: Permission denied
chown: changing ownership of ‘myproject/conf/hooks-env.tmpl’: Permission denied
chown: changing ownership of ‘myproject/conf/passwd’: Permission denied
chown: changing ownership of ‘myproject/conf/svnserve.conf’: Permission denied
chown: changing ownership of ‘myproject/conf/authz’: Permission denied
chown: changing ownership of ‘myproject/conf’: Permission denied
chown: changing ownership of ‘myproject/db/revs/0/0’: Permission denied
chown: changing ownership of ‘myproject/db/revs/0’: Permission denied
chown: changing ownership of ‘myproject/db/revs’: Permission denied
chown: changing ownership of ‘myproject/db/txn-current-lock’: Permission denied
chown: changing ownership of ‘myproject/db/current’: Permission denied
chown: changing ownership of ‘myproject/db/fs-type’: Permission denied
chown: changing ownership of ‘myproject/db/fsfs.conf’: Permission denied
chown: changing ownership of ‘myproject/db/write-lock’: Permission denied
chown: changing ownership of ‘myproject/db/txn-protorevs’: Permission denied
chown: changing ownership of ‘myproject/db/min-unpacked-rev’: Permission denied
chown: changing ownership of ‘myproject/db/revprops/0/0’: Permission denied
chown: changing ownership of ‘myproject/db/revprops/0’: Permission denied
chown: changing ownership of ‘myproject/db/revprops’: Permission denied
chown: changing ownership of ‘myproject/db/transactions’: Permission denied
chown: changing ownership of ‘myproject/db/txn-current’: Permission denied
chown: changing ownership of ‘myproject/db/format’: Permission denied
chown: changing ownership of ‘myproject/db/uuid’: Permission denied
chown: changing ownership of ‘myproject/db’: Permission denied
chown: changing ownership of ‘myproject/hooks/pre-lock.tmpl’: Permission denied chown: changing ownership of ‘myproject/hooks/pre-revprop-change.tmpl’: Permission denied chown: changing ownership of ‘myproject/hooks/post-lock.tmpl’: Permission denied chown: changing ownership of ‘myproject/hooks/start-commit.tmpl’: Permission denied chown: changing ownership of ‘myproject/hooks/pre-unlock.tmpl’: Permission denied chown: changing ownership of ‘myproject/hooks/post-commit.tmpl’: Permission denied chown: changing ownership of ‘myproject/hooks/post-revprop-change.tmpl’: Permission denied chown: changing ownership of ‘myproject/hooks/post-unlock.tmpl’: Permission denied chown: changing ownership of ‘myproject/hooks/pre-commit.tmpl’: Permission denied
chown: changing ownership of ‘myproject/hooks’: Permission denied
chown: changing ownership of ‘myproject/format’: Permission denied
chown: changing ownership of ‘myproject’: Permission denied

Thanks,,

On 11/28/2015 6:48 AM, Assaf Gordon wrote:
tag 22030 notabug
close 22030
stop

Hello,

On 11/27/2015 03:50 AM, Catalino Rivera wrote:
I successfully mounted NFS to a ubuntu server and access the file, however, linking this mounted thing to SVN and change the ownership giving a heck of headache, been scrolling all the
solution in the WWW, but no luck.
[...]
# chown -R www-data: subversion myproject

"permission denied"

To help us identify the issue, please post the exact error message from 'chown',
and the output from 'chown --version'.
A typical error message from GNU coreutils' chown looks like so:

    $ chown --version | head -n1
    chown (GNU coreutils) 8.23.170-02f67

    $ sudo touch 1
    $ chown gordon: 1
    chown: changing ownership of ‘1’: Operation not permitted

Without knowing full details,
My first guess would it that it might have something to do with root-squashing on the NFS-server-side (meaning, the 'root' user on your Ubuntu server does not actually have super-user permissions on the NFS mount,
and thus ownership modifications are blocked).
more information here: https://en.wikipedia.org/wiki/Unix_security#Root_squash .

regards,
 - assaf










reply via email to

[Prev in Thread] Current Thread [Next in Thread]