Re: [WebDNA] sudo and shell
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105174
interpreted = N
texte = --Apple-Mail-1--651819464Content-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=us-ascii> Thierry Almy wrote:>> I gave it another try.>> The folder to delete is:>> =/Library/PodcastProducer/Shared/Content/2010-03-31/3B74EFFD-27D6-4F5F-9460=-1DA5D360C7B5.prb>> I set permissions for the folder "2010-03-31" to 777 recursively.>> Then I restarted WebDNA (just in case)>> The command is:>> [shell]/bin/rm -rf =/Library/PodcastProducer/Shared/Content/2010-03-31/3B74EFFD-27D6-4F5F-9460=-1DA5D360C7B5.prb[/shell]>> But the folder wont get deleted ....>> I searched for log entries for this event but didn't find any.>> Any ideas what I could try?>> Thierry>=20>=20>=20> Hi Thierry, that command won't work for deleting the folder.>=20> If you are trying to delete the "2010-03-31" folder, you have> to set permissions for both that folder and it's container =directory... which is the "Content" folder. For testing, you can use 777 =on both.. then tighten it up where you can later.>=20> Use this command:> [shell]rm -rf =/Library/PodcastProducer/Shared/Content/2010-03-31[/shell]>=20> (notice, no trailing '/')>=20> Donovan>=20Hi DonovanI want do delete the folder "3B74EFFD-27D6-4F5F-9460-1DA5D360C7B5.prb" =(yes, it's a folder ...), so the command should be right?Thierry=--Apple-Mail-1--651819464Content-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=us-ascii
Thierry Almy =wrote:
I gave it another =try.
The folder to delete =is:
/Library/PodcastProducer/Shared/Content/2010-03-31/3B74EFFD-=27D6-4F5F-9460-1DA5D360C7B5.prb
I set permissions for the folder "2010-03-31" to 777 =recursively.
Then I restarted =WebDNA (just in case)
The =command is:
[shell]/bin/rm -rf =/Library/PodcastProducer/Shared/Content/2010-03-31/3B74EFFD-27D6-4F5F-9460=-1DA5D360C7B5.prb[/shell]
But =the folder wont get deleted ....
I searched for log entries for this event but didn't find =any.
Any ideas what I could =try?
Thierry
Hi Thierry, that =command won't work for deleting the folder.
If you are trying to =delete the "2010-03-31" folder, you have
to set permissions for both =that folder and it's container directory... which is the "Content" =folder. For testing, you can use 777 on both.. then tighten it up where =you can later.
Use this command:
[shell]rm -rf =/Library/PodcastProducer/Shared/Content/2010-03-31[/shell]
(notice,= no trailing '/')
Donovan
Hi =Donovan
I want do delete the folder ="3B74EFFD-27D6-4F5F-9460-1DA5D360C7B5.prb" (yes, it's a folder ...), so =the command should be =right?
Thierry
=--Apple-Mail-1--651819464--
Associated Messages, from the most recent to the oldest:
--Apple-Mail-1--651819464Content-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=us-ascii> Thierry Almy wrote:>> I gave it another try.>> The folder to delete is:>> =/Library/PodcastProducer/Shared/Content/2010-03-31/3B74EFFD-27D6-4F5F-9460=-1DA5D360C7B5.prb>> I set permissions for the folder "2010-03-31" to 777 recursively.>> Then I restarted WebDNA (just in case)>> The command is:>>
[shell]/bin/rm -rf =/Library/PodcastProducer/Shared/Content/2010-03-31/3B74EFFD-27D6-4F5F-9460=-1DA5D360C7B5.prb[/shell]>> But the folder wont get deleted ....>> I searched for log entries for this event but didn't find any.>> Any ideas what I could try?>> Thierry>=20>=20>=20> Hi Thierry, that command won't work for deleting the folder.>=20> If you are trying to delete the "2010-03-31" folder, you have> to set permissions for both that folder and it's container =directory... which is the "Content" folder. For testing, you can use 777 =on both.. then tighten it up where you can later.>=20> Use this command:>
[shell]rm -rf =/Library/PodcastProducer/Shared/Content/2010-03-31[/shell]>=20> (notice, no trailing '/')>=20> Donovan>=20Hi DonovanI want do delete the folder "3B74EFFD-27D6-4F5F-9460-1DA5D360C7B5.prb" =(yes, it's a folder ...), so the command should be right?Thierry=--Apple-Mail-1--651819464Content-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=us-ascii
Thierry Almy =wrote:
I gave it another =try.
The folder to delete =is:
/Library/PodcastProducer/Shared/Content/2010-03-31/3B74EFFD-=27D6-4F5F-9460-1DA5D360C7B5.prb
I set permissions for the folder "2010-03-31" to 777 =recursively.
Then I restarted =WebDNA (just in case)
The =command is:
[shell]/bin/rm -rf =/Library/PodcastProducer/Shared/Content/2010-03-31/3B74EFFD-27D6-4F5F-9460=-1DA5D360C7B5.prb[/shell]
But =the folder wont get deleted ....
I searched for log entries for this event but didn't find =any.
Any ideas what I could =try?
Thierry
Hi Thierry, that =command won't work for deleting the folder.
If you are trying to =delete the "2010-03-31" folder, you have
to set permissions for both =that folder and it's container directory... which is the "Content" =folder. For testing, you can use 777 on both.. then tighten it up where =you can later.
Use this command:
[shell]rm -rf =/Library/PodcastProducer/Shared/Content/2010-03-31[/shell]
(notice,= no trailing '/')
Donovan
Hi =Donovan
I want do delete the folder ="3B74EFFD-27D6-4F5F-9460-1DA5D360C7B5.prb" (yes, it's a folder ...), so =the command should be =right?
Thierry
=--Apple-Mail-1--651819464--
Thierry Almy
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Here we go again... (2006)
No messages for a week? (2000)
[format 40s]text[/format] doesn't work (1997)
WC2b12: Yes, Formulas.db is for real (1997)
[setLineItem] does not work. (1998)
case number with spaces. (2000)
Site Builder & IE Mac (2004)
Date fun with MySQL (2004)
Dreamweaver extensions [reprise] (2000)
question: back button prevention (1997)
Webcatalog 4.0 on Mac OS & WebStar (2000)
webcat- multiple selection in input field (1997)
select multiple (1997)
Help! WebCat2 bug (1997)
can you reassign loop index? (1998)
LOOP and IF statements (1997)
Exclamation point (1997)
[SHOWIF]s and empty arguments (1997)
Email Not Being Sent (2004)
WebCatb15 Mac CGI -- [purchase] (1997)