Office.com logo
Industries Run Your Business E-Business News and Research Community On The Air MarketplaceOffice.com top navigation bar
 Search: 
   Search  Search Help Get our free Newsletter
Get free Desktop Toys
Featured Business Services

100 Search Engines, 48 Hours
Save On Hertz Car Rentals
E-Marketing Service Provider
Save up to 70% on computers
Need Full Service Offices?
Hewlett Packard Center
Eliminate Payroll Headache!
Find a Consultant

Web Site for Your Business
Get Broadband Services
Get Clicking with Sprint ION

New user? Click to Register
Returning user? Sign In





Perlaccess : Tutorials : File and Directory
Changing Permissions on your Scripts (11.2)
by Brett Roberts
http://www.bigresources.com

When you upload a script to a web server, it is set to be only readable and writable by the owner and everyone else can only read it. Here, we will explain the process of changing the permissions of your scripts.

1). Telnet to your unix server and navigate to the directory that contains the file you wish to set permissions.
2). At the unix prompt, type chmod
3). On the same line, type a space then -v to get a message confirming permissions when executed.
4). Next, still on the same line, type oge where o is the number for owner's permission, g is the number for group permissions, and e is the number for everyone else's permissions.
5). Now, still on the same line, type the script's full name you wish to change
6). Press Enter

Note: Use 755 for scripts that need to be executed and use 644 for non-executable files.

/export/home/user: chmod -v 755 perlaccess.pl
BigResources Weekly
1-Click-Clipart
Free Clipart Reviews
123 Webmaster
Free Web Tools
A1 Javascripts
Free Java Scripts
Font Files
Free Fonts
Freeware Files
Free Downloads
FreeWebTemplates
Free Website Templates
Fresher Image
Free Clipart
HTML Forums
Free Help
Perl Access
Learn Perl Scripts

 
Free email - Signup Now!

Other Resources
FreebieDirectory.com




Perlaccess.com and all content within this site is copyright © Big Resources, Inc.
Mascot team created by Drawshop.com
Help Contact Us Join Our Team Partners About Us Home
Copyright © 1999-2001 Office.com Inc. All Rights Reserved.
Use of this site is subject to Office.com's Terms of Service.
Office.com's Privacy Policy.