OpenVMS delete dir problem

No longer supported!

Moderator: Moderators

OpenVMS delete dir problem

Postby aarn » Sat Dec 11, 2004 12:41 pm

I have an OpenVMS Polarhome's ftp account. If I make a new directory on a server I can't delete it anymore. I suspect the default directory attributes (RWE,RWE,,) do not allow deleting.

Can anybody advise some way to delete an ftp directory?

Thanks,
Andrew
aarn
Newbie
 
Posts: 5
Joined: Sat Dec 11, 2004 12:31 pm

Postby sjaz » Sat Dec 11, 2004 1:14 pm

Can you CHMOD it to give you write permissions?
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby aarn » Sat Dec 11, 2004 1:55 pm

No, I can't. I give an error message:

SITE CHMOD TEST 777
504 SITE Unknown type
aarn
Newbie
 
Posts: 5
Joined: Sat Dec 11, 2004 12:31 pm

Postby sjaz » Sat Dec 11, 2004 3:25 pm

Best bet is to either contact zoli on support@polarhome.com or ask miker_alpha as hes a VMS expert.
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby miker_alpha » Sun Dec 12, 2004 10:00 am

As a default, directories and sub-directory structures created on OpenVMS cannot be deleted by their owner.

I have not tried the following but
if you add a line to your LOGIN.COM file e.g.:
$ SET FILE [...]*.DIR;1 /PROT=O:RWED
it may work to allow the owner (you) to delete directory files using an FTP client
(You'll only have to run this once, until you create new sub-directories.)
The directory must be empty to allow this.
... Or get an interactive account

Why do you want to delete a directory? Did you create it yourself? If so, how did you create a directory using an FTP client? If not are you sure you should be deleting it?

Note: CHMOD is *not* an OpenVMS command!
see
$ HELP SET FILE
in an OpenVMS interactive account (Try GUEST / GUEST on either polarhome OpenVMS machines.)

also check
http://www.polarhome.com:763/~miker/VMS_beginners_faq.html#FILE15
Good luck!

MikeR
Look for OpenVMS help on my webpage
Check for QOTD here.
Image
User avatar
miker_alpha
Moderator
Moderator
 
Posts: 256
Joined: Sat May 08, 2004 9:20 am
Location: Kibbutz Tzora, Israel

Postby DenisF » Sun Dec 12, 2004 10:50 am

damn, and i thought linux is hard :shock:
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby sjaz » Sun Dec 12, 2004 2:27 pm

Nah, I just knew miker was the man for the job.
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby miker_alpha » Mon Dec 13, 2004 1:24 pm

@Denis:
re
damn, and i thought linux is hard


you mean

$ SET FILE TEST.DIR /PROTECTION=OWNER:RWED
(RWED: Read, Write, Execute, Delete)
is more complicated than

CHMOD TEST 777

? :?
MikeR
Look for OpenVMS help on my webpage
Check for QOTD here.
Image
User avatar
miker_alpha
Moderator
Moderator
 
Posts: 256
Joined: Sat May 08, 2004 9:20 am
Location: Kibbutz Tzora, Israel

Postby sjaz » Mon Dec 13, 2004 1:29 pm

chmod 777 test :p
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby afonic » Mon Dec 13, 2004 3:27 pm

I'd *really* say it's more easy!

$ SET FILE TEST.DIR /PROTECTION=OWNER:RWED

^^ it's almost English! :D
User avatar
afonic
Forum Admin
Forum Admin
 
Posts: 686
Joined: Tue Oct 14, 2003 11:11 pm
Location: Salonica, Greece

Postby sjaz » Mon Dec 13, 2004 5:03 pm

Its too verbose for me.
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby miker_alpha » Tue Dec 14, 2004 11:35 am

Yeah well,
Why is Un*x limited to 676 commands?
Because thats the number of distinct two-letter combinations.


MikeR :D
Look for OpenVMS help on my webpage
Check for QOTD here.
Image
User avatar
miker_alpha
Moderator
Moderator
 
Posts: 256
Joined: Sat May 08, 2004 9:20 am
Location: Kibbutz Tzora, Israel

Postby DenisF » Tue Dec 14, 2004 12:10 pm

:lol:

and ye that whole set file thingy business is just too damn long/complex.
i mean, who has the time to type all that when u can do a chmod 777 dir
i bet you vms gurus have aliases in-place, like rwed dir that would do SET FILE $1 /PROTECTION=OWNER:RWED, but the beauty of linux is that you don't /need/ any aliases, the 'real' commands are short enough as-is :P

so, in short;
mike, you still get a place in "denis's hall of gods", together with zoli and linus, but with all due respect [and there's plenty] i'm sticking to linux :)
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby sjaz » Tue Dec 14, 2004 12:42 pm

Hes still listed in mine too.
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby miker_alpha » Tue Dec 14, 2004 4:43 pm

:lol:
Thanks guys!

And to the O.P.: did it help?
On some OpenVMS FTP servers there is a RMD (remove directory) command. (Internal to the FTP server.)
try FTP> quote rmd test.dir;1
Note: No upper/Lower-case differences in OpenVMS commands.

MikeR
Look for OpenVMS help on my webpage
Check for QOTD here.
Image
User avatar
miker_alpha
Moderator
Moderator
 
Posts: 256
Joined: Sat May 08, 2004 9:20 am
Location: Kibbutz Tzora, Israel

Postby sjaz » Tue Dec 14, 2004 6:54 pm

I think we scared the OP away.
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby miker_alpha » Wed Dec 15, 2004 5:54 am

Hehehehehe... /evil laugh

The poor sod posted once and vanished.

:evil:
MikeR
Look for OpenVMS help on my webpage
Check for QOTD here.
Image
User avatar
miker_alpha
Moderator
Moderator
 
Posts: 256
Joined: Sat May 08, 2004 9:20 am
Location: Kibbutz Tzora, Israel

Postby DenisF » Wed Dec 15, 2004 5:56 am

that happens alot here
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby afonic » Wed Dec 15, 2004 12:24 pm

Well not related to the guy that posted here, but generally, I just HATE when you take your time and do a really big and helpful reply to someone asking you in a forum and he didn't even reply to say if it worked!

It has happened to me many times in dvd-guides forums to do research, try stuff in my machine and reply with the possible solution and never hear from that guy again! I guess that it's because of the stupidity of some people that post in like 5 forums the same question while search google at the same time. Then they get a solution and forget about anyone else!

Oh well.... :?
User avatar
afonic
Forum Admin
Forum Admin
 
Posts: 686
Joined: Tue Oct 14, 2003 11:11 pm
Location: Salonica, Greece

Postby aarn » Sat Dec 18, 2004 10:47 am

To miker_alpha:
Thank you for you reply. Sorry, I couldn't read it immediately so there was a delay with this answer.

Thank you for your pointing me to a FAQ, I've really missed its VMS section.

But my problem is still actual. I haven't shell access to the Polarhome account so "$ SET FILE TEST.DIR /PROTECTION = OWNER:RWED" command can not help. When I tried to use ftp "quote $ SET FILE TEST.DIR /PROTECTION = OWNER:RWED" the answer was "502 SET is unimplemented". "quote rmd ..." was unsuccessful too.

I guess the problem has not solution with ftp client using.

I appreciate your time and knowledge you share with others.
aarn
Newbie
 
Posts: 5
Joined: Sat Dec 11, 2004 12:31 pm

Next

Return to FTP accounts

Who is online

Users browsing this forum: No registered users and 9 guests

cron