Operating System - HP-UX
1752785 Members
5892 Online
108789 Solutions
New Discussion юеВ

Re: ftp file permission denied

 
Fauziah Mahdan
Super Advisor

ftp file permission denied

HI all,
I have given rw permision to group but the owner of this file beongs to ora10g.
Why the other user from same group can't overwrite, or delete the file?
Esp using ftp.
13 REPLIES 13
Dennis Handly
Acclaimed Contributor

Re: ftp file permission denied

Please provide the following output:
ll file
id # of user trying to write

Note: To remove the file, you must have write permission to the directory.
Sajjad Sahir
Honored Contributor

Re: ftp file permission denied

Dear Fouzia Mahdan

owner should be oralce
group should be dba
file permission should be 660


thanks and regards

Sajjad Sahri
Fauziah Mahdan
Super Advisor

Re: ftp file permission denied

the user id

uid=111(shakirah) gid=106(oinstall)

$ id
uid=108(ora10g) gid=106(oinstall) groups=107(dba),108(oper)



the file permission

-rw-rw-r-- 1 ora10g oinstall 72 Apr 2 16:14 arif.java


When try to oeverwrite the file using shakirah id via ftp error as upload of file arif.java was successfull, but error occured while setting the permission and/or timestamp. If the problem persists, turn on 'ignore permission errors' option.

When try to delete the file using shakirah's id
error deleting file arif.java.

pls advice
T G Manikandan
Honored Contributor

Re: ftp file permission denied

can you post the permissions of the directory in which this file resides.
Fauziah Mahdan
Super Advisor

Re: ftp file permission denied

drwxr-xr-x 2 ora10g oinstall 10240 Apr 2 15:55 _en__en
Sajjad Sahir
Honored Contributor

Re: ftp file permission denied

Dear Fouzia

what about the /etc/ftpd/ftpaccess file.
I beleive these u didn't configure this file
can u check it please

Sajjad
Fauziah Mahdan
Super Advisor

Re: ftp file permission denied

No such file name under that directory
cd etc
# cd ftpd
# ll
total 0
dr-xr-xr-x 2 bin bin 96 Sep 9 2004 ftp-exec
dr-xr--r-- 2 bin bin 96 Sep 9 2004 pids
# pwd
Sajjad Sahir
Honored Contributor

Re: ftp file permission denied

what i believe it is a permission problem on the directory level you
are writing to. If you are writing to a directorythat belongs to another user group, I would go in and add root as a
secondary group member by the following selections within sam
account -- user (whoever truly owns that directory) --- modify
secondary group member to add root

thanks and regards

Sajjad Sahir
T G Manikandan
Honored Contributor

Re: ftp file permission denied

can you please provide 775 for the directory.

which is rwxrwxr-x