1829589 Members
8329 Online
109992 Solutions
New Discussion

Re: chown problem in AS4

 
SOLVED
Go to solution
Md. Shafiullah
Advisor

chown problem in AS4

I am using Redhat Linux AS4 Update 3 Kernel 2.6.9-34.ELsmp. I have created a new user named test123. But the user cant change ownership of any of his folders or files. The error shows like "chown: changing ownership of `file1': Operation not permitted". Even though he created a folder, he cant change the ownership. Please help.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: chown problem in AS4

Shalom,

Insufficient information.

Suggestions:

Maybe its a Samba folder that is not properly integrated into LDAP or ADS and the user is not owner in the global sense, ie the central authentication server.

Could be a remote samba mount that does not respect permissions, this is a bug in the samba client included in AS 4.

Maybe a conflict or inconsistency in /etc/passwd, /etc/group or /etc/shadow

pwck
grpck

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor
Solution

Re: chown problem in AS4

In Linux, this is a normal behaviour. Normal users cannot run the chown command even for files that they own. If you want to share files, you must use group membership permissions and follow the User Private Group security scheme.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Md. Shafiullah
Advisor

Re: chown problem in AS4

I think Ivan is right. In linux normal users cant use chown. I have configured sudo to give the user chown permission. In HPUX or Solaris normal users can use chown. I think Redhat should add this feature to normal linux users.

Thanks Steven and Ivan for your response.