Sponsored Content
Full Discussion: umask for an ftp account
Operating Systems HP-UX umask for an ftp account Post 302182692 by RTM on Monday 7th of April 2008 10:47:56 AM
Old 04-07-2008
You may not get exactly what you want on permissions.

See man page for umask AND Perderabo's UNIX File permissions

See ftp permissions problems help for setting umask on ftpd.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ftp account change password

How can I change the password from an ftp user account on a ssh server? Please give me simple instructions for a users who hasn't a lot of experience. :D Just the words in form of a list thanks a lot. (1 Reply)
Discussion started by: m.seidenberg
1 Replies

2. Solaris

ftp account locking

I need some help trying to figure out why our ftp account keeps getting locked with no manual intervention. We have end of day processes that run nightly and the last thing it does is ftp files to a server. Everyonce in a while the script fails because the account has been locked. How could this... (5 Replies)
Discussion started by: morgadoa
5 Replies

3. UNIX for Dummies Questions & Answers

How do you set up an FTP user account?

1) How do you set up an FTP user account on a Solaris Unix box? Please show the steps (assuming I have root account access). 2) Where are the FTP user account information stored? For example: Unix user accouns are stored on /etc/passwd what about ftp user account where are they stored? Thanks... (3 Replies)
Discussion started by: XZOR
3 Replies

4. UNIX for Dummies Questions & Answers

Setting up FTP account

Hi, I am new to the workd of FTP administration. I was asked to make an account on our FTP server so that someone can only download and upload to his home directory. The account is made but what settings/cconfiguration can I verify to ensure that the user has access to his home directory only?... (1 Reply)
Discussion started by: mojoman
1 Replies

5. Shell Programming and Scripting

how i can make one ip access to ftp account and deny others

HI I want to make only one IP can access to ftp acount in cpanel or by shell can any body help me ? (1 Reply)
Discussion started by: elkadrey
1 Replies

6. UNIX for Dummies Questions & Answers

Creating FTP account using SSH (putty)?

Hello, : ) I have a remote access to the server that hosts my joomla, and it does not have cpanel. So I have to do everything manually. I need to have an FTP account to the httpdocs folder because I need to put these info in the config file of joomla (to allow file uploading ...etc) So,... (8 Replies)
Discussion started by: Hayatt
8 Replies

7. AIX

FTP user and Umask issue

Guy's I have user ID created in AIX calld FTPuser in AppServer Umask for this user ( FTPuser ) is umask 002 from my workstation I'm doing as the following ftp Appserver Connected to Appserver. 230 User FTPuser logged in. put testfile.sh file will be transferd but the issue... (1 Reply)
Discussion started by: ITHelper
1 Replies

8. AIX

default umask setting during ftp

Hi all, How do i change the default primary group of files uploaded in AIX (via ftp) in such a way that the files will be owned by tom:staff? I understand that the default file permission can be set in /etc/profile for aix by adding a new line umask=032 Do I add a line in umask as well?... (5 Replies)
Discussion started by: chipahoys
5 Replies

9. Linux

uid of an account which accesses ftp/http

Hi Techs, Please guide me the answer with the explanation. Q1) What is the uid of an individual account which can access ftp/http? Thanks in advance to all. (3 Replies)
Discussion started by: ajazshariff
3 Replies

10. UNIX for Dummies Questions & Answers

Default umask setting during ftp AIX

Hi, I have set below option in following file /etc/inetd.conf in AIX. ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd -u 2 But still it created the file with permission (640): -rw-r----- 1 ftptosas ftpusrg 6091 Jul 28 12:23 diff_061920.txt Required permission... (1 Reply)
Discussion started by: mageshpsv01
1 Replies
QUrlInfo(3qt)															     QUrlInfo(3qt)

NAME
QUrlInfo - Stores information about URLs SYNOPSIS
#include <qurlinfo.h> Public Members QUrlInfo () QUrlInfo ( const QUrlOperator & path, const QString & file ) QUrlInfo ( const QUrlInfo & ui ) QUrlInfo ( const QString & name, int permissions, const QString & owner, const QString & group, uint size, const QDateTime & lastModified, const QDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable ) QUrlInfo ( const QUrl & url, int permissions, const QString & owner, const QString & group, uint size, const QDateTime & lastModified, const QDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable ) QUrlInfo & operator= ( const QUrlInfo & ui ) virtual ~QUrlInfo () virtual void setName ( const QString & name ) virtual void setDir ( bool b ) virtual void setFile ( bool b ) virtual void setSymLink ( bool b ) virtual void setOwner ( const QString & s ) virtual void setGroup ( const QString & s ) virtual void setSize ( uint size ) virtual void setWritable ( bool b ) virtual void setReadable ( bool b ) virtual void setPermissions ( int p ) virtual void setLastModified ( const QDateTime & dt ) bool isValid () const QString name () const int permissions () const QString owner () const QString group () const uint size () const QDateTime lastModified () const QDateTime lastRead () const bool isDir () const bool isFile () const bool isSymLink () const bool isWritable () const bool isReadable () const bool isExecutable () const bool operator== ( const QUrlInfo & i ) const Static Public Members bool greaterThan ( const QUrlInfo & i1, const QUrlInfo & i2, int sortBy ) bool lessThan ( const QUrlInfo & i1, const QUrlInfo & i2, int sortBy ) bool equal ( const QUrlInfo & i1, const QUrlInfo & i2, int sortBy ) DESCRIPTION
The QUrlInfo class stores information about URLs. This class is just a container for storing information about URLs, which is why all information must be passed in the constructor. Unless you're reimplementing a network protocol you're unlikely to create QUrlInfo objects yourself, but you may receive QUrlInfo objects from functions, e.g. QUrlOperator::info(). The information that can be retrieved includes name(), permissions(), owner(), group(), size(), lastModified(), lastRead(), isDir(), isFile(), isSymLink(), isWritable(), isReadable() and isExecutable(). See also Input/Output and Networking and Miscellaneous Classes. MEMBER FUNCTION DOCUMENTATION
QUrlInfo::QUrlInfo () Constructs an invalid QUrlInfo object with default values. See also isValid(). QUrlInfo::QUrlInfo ( const QUrlOperator & path, const QString & file ) Constructs a QUrlInfo object with information about the file file in the path. It tries to find the information about the file in the QUrlOperator path. If the information is not found, this constructor creates an invalid QUrlInfo, i.e. isValid() returns FALSE. You should always check if the URL info is valid before relying on the return values of any getter functions. If file is empty, it defaults to the QUrlOperator path, i.e. to the directory. See also isValid() and QUrlOperator::info(). QUrlInfo::QUrlInfo ( const QUrlInfo & ui ) Copy constructor, copies ui to this URL info object. QUrlInfo::QUrlInfo ( const QString & name, int permissions, const QString & owner, const QString & group, uint size, const QDateTime & lastModified, const QDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable ) Constructs a QUrlInfo object by specifying all the URL's information. The information that is passed is the name, file permissions, owner and group and the file's size. Also passed is the lastModified date/time and the lastRead date/time. Flags are also passed, specifically, isDir, isFile, isSymLink, isWritable, isReadable and isExecutable. QUrlInfo::QUrlInfo ( const QUrl & url, int permissions, const QString & owner, const QString & group, uint size, const QDateTime & lastModified, const QDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable ) Constructs a QUrlInfo object by specifying all the URL's information. The information that is passed is the url, file permissions, owner and group and the file's size. Also passed is the lastModified date/time and the lastRead date/time. Flags are also passed, specifically, isDir, isFile, isSymLink, isWritable, isReadable and isExecutable. QUrlInfo::~QUrlInfo () [virtual] Destroys the URL info object. The QUrlOperator object to which this URL referred (if any) is not affected. bool QUrlInfo::equal ( const QUrlInfo & i1, const QUrlInfo & i2, int sortBy ) [static] Returns TRUE if i1 equals to i2; otherwise returns FALSE. The objects are compared by the value, which is specified by sortBy. This must be one of QDir::Name, QDir::Time or QDir::Size. bool QUrlInfo::greaterThan ( const QUrlInfo & i1, const QUrlInfo & i2, int sortBy ) [static] Returns TRUE if i1 is greater than i2; otherwise returns FALSE. The objects are compared by the value, which is specified by sortBy. This must be one of QDir::Name, QDir::Time or QDir::Size. QString QUrlInfo::group () const Returns the group of the URL. See also isValid(). bool QUrlInfo::isDir () const Returns TRUE if the URL is a directory; otherwise returns FALSE. See also isValid(). Examples: bool QUrlInfo::isExecutable () const Returns TRUE if the URL is executable; otherwise returns FALSE. See also isValid(). bool QUrlInfo::isFile () const Returns TRUE if the URL is a file; otherwise returns FALSE. See also isValid(). bool QUrlInfo::isReadable () const Returns TRUE if the URL is readable; otherwise returns FALSE. See also isValid(). bool QUrlInfo::isSymLink () const Returns TRUE if the URL is a symbolic link; otherwise returns FALSE. See also isValid(). bool QUrlInfo::isValid () const Returns TRUE if the URL info is valid; otherwise returns FALSE. Valid means that the QUrlInfo contains real information. For example, a call to QUrlOperator::info() might return a an invalid QUrlInfo, if no information about the requested entry is available. You should always check if the URL info is valid before relying on the values. bool QUrlInfo::isWritable () const Returns TRUE if the URL is writable; otherwise returns FALSE. See also isValid(). QDateTime QUrlInfo::lastModified () const Returns the last modification date of the URL. See also isValid(). Example: network/ftpclient/ftpmainwindow.ui.h. QDateTime QUrlInfo::lastRead () const Returns the date when the URL was last read. See also isValid(). bool QUrlInfo::lessThan ( const QUrlInfo & i1, const QUrlInfo & i2, int sortBy ) [static] Returns TRUE if i1 is less than i2; otherwise returns FALSE. The objects are compared by the value, which is specified by sortBy. This must be one of QDir::Name, QDir::Time or QDir::Size. QString QUrlInfo::name () const Returns the file name of the URL. See also isValid(). Example: network/ftpclient/ftpmainwindow.ui.h. QUrlInfo &; QUrlInfo::operator= ( const QUrlInfo & ui ) Assigns the values of ui to this QUrlInfo object. bool QUrlInfo::operator== ( const QUrlInfo & i ) const Compares this QUrlInfo with i and returns TRUE if they are equal; otherwise returns FALSE. QString QUrlInfo::owner () const Returns the owner of the URL. See also isValid(). int QUrlInfo::permissions () const Returns the permissions of the URL. See also isValid(). void QUrlInfo::setDir ( bool b ) [virtual] If b is TRUE then the URL is set to be a directory; if  is FALSE then the URL is set not to be a directory (which normally means it is a file). (Note that a URL can refer to both a file and a directory even though most file systems do not support this.) If you call this function for an invalid URL info, this function turns it into a valid one. See also isValid(). Example: network/networkprotocol/nntp.cpp. void QUrlInfo::setFile ( bool b ) [virtual] If b is TRUE then the URL is set to be a file; if  is FALSE then the URL is set not to be a file (which normally means it is a directory). (Note that a URL can refer to both a file and a directory even though most file systems do not support this.) If you call this function for an invalid URL info, this function turns it into a valid one. See also isValid(). Example: network/networkprotocol/nntp.cpp. void QUrlInfo::setGroup ( const QString & s ) [virtual] Specifies that the owning group of the URL is called s. If you call this function for an invalid URL info, this function turns it into a valid one. See also isValid(). void QUrlInfo::setLastModified ( const QDateTime & dt ) [virtual] Specifies that the object the URL refers to was last modified at dt. If you call this function for an invalid URL info, this function turns it into a valid one. See also isValid(). void QUrlInfo::setName ( const QString & name ) [virtual] Sets the name of the URL to name. The name is the full text, for example, "http://doc.trolltech.com/qurlinfo.html". If you call this function for an invalid URL info, this function turns it into a valid one. See also isValid(). Example: network/networkprotocol/nntp.cpp. void QUrlInfo::setOwner ( const QString & s ) [virtual] Specifies that the owner of the URL is called s. If you call this function for an invalid URL info, this function turns it into a valid one. See also isValid(). void QUrlInfo::setPermissions ( int p ) [virtual] Specifies that the URL has access permisions, p. If you call this function for an invalid URL info, this function turns it into a valid one. See also isValid(). void QUrlInfo::setReadable ( bool b ) [virtual] Specifies that the URL is readable if b is TRUE and not readable if b is FALSE. If you call this function for an invalid URL info, this function turns it into a valid one. See also isValid(). Example: network/networkprotocol/nntp.cpp. void QUrlInfo::setSize ( uint size ) [virtual] Specifies the size of the URL. If you call this function for an invalid URL info, this function turns it into a valid one. See also isValid(). void QUrlInfo::setSymLink ( bool b ) [virtual] Specifies that the URL refers to a symbolic link if b is TRUE and that it does not if b is FALSE. If you call this function for an invalid URL info, this function turns it into a valid one. See also isValid(). Example: network/networkprotocol/nntp.cpp. void QUrlInfo::setWritable ( bool b ) [virtual] Specifies that the URL is writable if b is TRUE and not writable if b is FALSE. If you call this function for an invalid URL info, this function turns it into a valid one. See also isValid(). Example: network/networkprotocol/nntp.cpp. uint QUrlInfo::size () const Returns the size of the URL. See also isValid(). Example: network/ftpclient/ftpmainwindow.ui.h. SEE ALSO
http://doc.trolltech.com/qurlinfo.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qurlinfo.3qt) and the Qt version (3.1.1). Trolltech AS 9 December 2002 QUrlInfo(3qt)
All times are GMT -4. The time now is 03:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy